public final class jdk.incubator.http.internal.websocket.BuilderImpl implements jdk.incubator.http.WebSocket$Builder
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.incubator.http.internal.websocket.BuilderImpl
  super_class: java.lang.Object
{
  private final jdk.incubator.http.HttpClient client;
    descriptor: Ljdk/incubator/http/HttpClient;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.net.URI uri;
    descriptor: Ljava/net/URI;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.WebSocket$Listener listener;
    descriptor: Ljdk/incubator/http/WebSocket$Listener;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Collection<jdk.incubator.http.internal.common.Pair<java.lang.String, java.lang.String>> headers;
    descriptor: Ljava/util/Collection;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Collection<Ljdk/incubator/http/internal/common/Pair<Ljava/lang/String;Ljava/lang/String;>;>;

  private final java.util.Collection<java.lang.String> subprotocols;
    descriptor: Ljava/util/Collection;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Collection<Ljava/lang/String;>;

  private java.time.Duration timeout;
    descriptor: Ljava/time/Duration;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(jdk.incubator.http.HttpClient, java.net.URI, jdk.incubator.http.WebSocket$Listener);
    descriptor: (Ljdk/incubator/http/HttpClient;Ljava/net/URI;Ljdk/incubator/http/WebSocket$Listener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
        start local 1 // jdk.incubator.http.HttpClient client
        start local 2 // java.net.URI uri
        start local 3 // jdk.incubator.http.WebSocket$Listener listener
         0: .line 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.headers:Ljava/util/Collection;
         2: .line 50
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.subprotocols:Ljava/util/Collection;
         3: .line 54
            aload 0 /* this */
            aload 1 /* client */
            ldc "client"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast jdk.incubator.http.HttpClient
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.client:Ljdk/incubator/http/HttpClient;
         4: .line 55
            aload 0 /* this */
            aload 2 /* uri */
            ldc "uri"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast java.net.URI
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.uri:Ljava/net/URI;
         5: .line 56
            aload 0 /* this */
            aload 3 /* listener */
            ldc "listener"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast jdk.incubator.http.WebSocket$Listener
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.listener:Ljdk/incubator/http/WebSocket$Listener;
         6: .line 57
            return
        end local 3 // jdk.incubator.http.WebSocket$Listener listener
        end local 2 // java.net.URI uri
        end local 1 // jdk.incubator.http.HttpClient client
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            0    7     1    client  Ljdk/incubator/http/HttpClient;
            0    7     2       uri  Ljava/net/URI;
            0    7     3  listener  Ljdk/incubator/http/WebSocket$Listener;
    MethodParameters:
          Name  Flags
      client    
      uri       
      listener  

  public jdk.incubator.http.WebSocket$Builder header(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/WebSocket$Builder;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
        start local 1 // java.lang.String name
        start local 2 // java.lang.String value
         0: .line 61
            aload 1 /* name */
            ldc "name"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 62
            aload 2 /* value */
            ldc "value"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 63
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.headers:Ljava/util/Collection;
            aload 1 /* name */
            aload 2 /* value */
            invokestatic jdk.incubator.http.internal.common.Pair.pair:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/incubator/http/internal/common/Pair;
            invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
            pop
         3: .line 64
            aload 0 /* this */
            areturn
        end local 2 // java.lang.String value
        end local 1 // java.lang.String name
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            0    4     1   name  Ljava/lang/String;
            0    4     2  value  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      name   
      value  

  public 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: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
        start local 1 // java.lang.String mostPreferred
        start local 2 // java.lang.String[] lesserPreferred
         0: .line 71
            aload 1 /* mostPreferred */
            ldc "mostPreferred"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 72
            aload 2 /* lesserPreferred */
            ldc "lesserPreferred"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 73
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 3 /* subprotocols */
        start local 3 // java.util.List subprotocols
         3: .line 74
            aload 3 /* subprotocols */
            aload 1 /* mostPreferred */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         4: .line 75
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 10
         6: .line 76
      StackMap locals: java.util.List int
      StackMap stack:
            aload 2 /* lesserPreferred */
            iload 4 /* i */
            aaload
            astore 5 /* p */
        start local 5 // java.lang.String p
         7: .line 77
            aload 5 /* p */
            new java.lang.StringBuilder
            dup
            ldc "lesserPreferred["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 4 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         8: .line 78
            aload 3 /* subprotocols */
            aload 5 /* p */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.lang.String p
         9: .line 75
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            aload 2 /* lesserPreferred */
            arraylength
            if_icmplt 6
        end local 4 // int i
        11: .line 80
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.subprotocols:Ljava/util/Collection;
            invokeinterface java.util.Collection.clear:()V
        12: .line 81
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.subprotocols:Ljava/util/Collection;
            aload 3 /* subprotocols */
            invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
            pop
        13: .line 82
            aload 0 /* this */
            areturn
        end local 3 // java.util.List subprotocols
        end local 2 // java.lang.String[] lesserPreferred
        end local 1 // java.lang.String mostPreferred
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   14     0             this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            0   14     1    mostPreferred  Ljava/lang/String;
            0   14     2  lesserPreferred  [Ljava/lang/String;
            3   14     3     subprotocols  Ljava/util/List<Ljava/lang/String;>;
            5   11     4                i  I
            7    9     5                p  Ljava/lang/String;
    MethodParameters:
                 Name  Flags
      mostPreferred    
      lesserPreferred  

  public jdk.incubator.http.WebSocket$Builder connectTimeout(java.time.Duration);
    descriptor: (Ljava/time/Duration;)Ljdk/incubator/http/WebSocket$Builder;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
        start local 1 // java.time.Duration timeout
         0: .line 87
            aload 0 /* this */
            aload 1 /* timeout */
            ldc "timeout"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast java.time.Duration
            putfield jdk.incubator.http.internal.websocket.BuilderImpl.timeout:Ljava/time/Duration;
         1: .line 88
            aload 0 /* this */
            areturn
        end local 1 // java.time.Duration timeout
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            0    2     1  timeout  Ljava/time/Duration;
    MethodParameters:
         Name  Flags
      timeout  

  public java.util.concurrent.CompletableFuture<jdk.incubator.http.WebSocket> buildAsync();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 93
            aload 0 /* this */
            invokestatic jdk.incubator.http.internal.websocket.WebSocketImpl.newInstanceAsync:(Ljdk/incubator/http/internal/websocket/BuilderImpl;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/WebSocket;>;

  jdk.incubator.http.HttpClient getClient();
    descriptor: ()Ljdk/incubator/http/HttpClient;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 96
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.client:Ljdk/incubator/http/HttpClient;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;

  java.net.URI getUri();
    descriptor: ()Ljava/net/URI;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 98
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.uri:Ljava/net/URI;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;

  jdk.incubator.http.WebSocket$Listener getListener();
    descriptor: ()Ljdk/incubator/http/WebSocket$Listener;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 100
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.listener:Ljdk/incubator/http/WebSocket$Listener;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;

  java.util.Collection<jdk.incubator.http.internal.common.Pair<java.lang.String, java.lang.String>> getHeaders();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 102
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.headers:Ljava/util/Collection;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
    Signature: ()Ljava/util/Collection<Ljdk/incubator/http/internal/common/Pair<Ljava/lang/String;Ljava/lang/String;>;>;

  java.util.Collection<java.lang.String> getSubprotocols();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 104
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.subprotocols:Ljava/util/Collection;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
    Signature: ()Ljava/util/Collection<Ljava/lang/String;>;

  java.time.Duration getConnectTimeout();
    descriptor: ()Ljava/time/Duration;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
         0: .line 106
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.BuilderImpl.timeout:Ljava/time/Duration;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/internal/websocket/BuilderImpl;
}
SourceFile: "BuilderImpl.java"
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