public interface jdk.incubator.http.WebSocket
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: jdk.incubator.http.WebSocket
  super_class: java.lang.Object
{
  public static final int NORMAL_CLOSURE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1000

  public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> sendText(java.lang.CharSequence, boolean);
    descriptor: (Ljava/lang/CharSequence;Z)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (Ljava/lang/CharSequence;Z)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  
      isLast   

  public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> sendBinary(java.nio.ByteBuffer, boolean);
    descriptor: (Ljava/nio/ByteBuffer;Z)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (Ljava/nio/ByteBuffer;Z)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  
      isLast   

  public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> sendPing(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  

  public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> sendPong(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
    MethodParameters:
         Name  Flags
      message  

  public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> sendClose(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Signature: (ILjava/lang/String;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
    MethodParameters:
            Name  Flags
      statusCode  
      reason      

  public abstract void request(long);
    descriptor: (J)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      n     

  public abstract java.lang.String getSubprotocol();
    descriptor: ()Ljava/lang/String;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract boolean isOutputClosed();
    descriptor: ()Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract boolean isInputClosed();
    descriptor: ()Z
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public abstract void abort();
    descriptor: ()V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "WebSocket.java"
NestMembers:
  jdk.incubator.http.WebSocket$Builder  jdk.incubator.http.WebSocket$Listener  jdk.incubator.http.WebSocket$MessagePart
InnerClasses:
  public abstract Builder = jdk.incubator.http.WebSocket$Builder of jdk.incubator.http.WebSocket
  public abstract Listener = jdk.incubator.http.WebSocket$Listener of jdk.incubator.http.WebSocket
  public final MessagePart = jdk.incubator.http.WebSocket$MessagePart of jdk.incubator.http.WebSocket