public interface jdk.incubator.http.WebSocket$Builder
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.incubator.http.WebSocket$Builder
super_class: java.lang.Object
{
public abstract jdk.incubator.http.WebSocket$Builder (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/WebSocket$Builder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
name
value
public abstract jdk.incubator.http.WebSocket$Builder connectTimeout(java.time.Duration);
descriptor: (Ljava/time/Duration;)Ljdk/incubator/http/WebSocket$Builder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
timeout
public abstract jdk.incubator.http.WebSocket$Builder subprotocols(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/incubator/http/WebSocket$Builder;
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
MethodParameters:
Name Flags
mostPreferred
lesserPreferred
public abstract java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> buildAsync(java.net.URI, jdk.incubator.http.WebSocket$Listener);
descriptor: (Ljava/net/URI;Ljdk/incubator/http/WebSocket$Listener;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/net/URI;Ljdk/incubator/http/WebSocket$Listener;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;
MethodParameters:
Name Flags
uri
listener
}
SourceFile: "WebSocket.java"
NestHost: jdk.incubator.http.WebSocket
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