public class jdk.incubator.http.internal.websocket.OpeningHandshake
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.incubator.http.internal.websocket.OpeningHandshake
  super_class: java.lang.Object
{
  private static final java.lang.String HEADER_CONNECTION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Connection"

  private static final java.lang.String HEADER_UPGRADE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Upgrade"

  private static final java.lang.String HEADER_ACCEPT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Sec-WebSocket-Accept"

  private static final java.lang.String HEADER_EXTENSIONS;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Sec-WebSocket-Extensions"

  private static final java.lang.String HEADER_KEY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Sec-WebSocket-Key"

  private static final java.lang.String HEADER_PROTOCOL;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Sec-WebSocket-Protocol"

  private static final java.lang.String HEADER_VERSION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Sec-WebSocket-Version"

  private static final java.lang.String VERSION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "13"

  private static final java.util.Set<java.lang.String> ILLEGAL_HEADERS;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  private static final java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.security.MessageDigest sha1;
    descriptor: Ljava/security/MessageDigest;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.HttpClient client;
    descriptor: Ljdk/incubator/http/HttpClient;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.incubator.http.HttpRequest request;
    descriptor: Ljdk/incubator/http/HttpRequest;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  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 final java.lang.String nonce;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 70
            ldc Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.incubator.http.internal.websocket.OpeningHandshake.$assertionsDisabled:Z
         3: .line 84
            new java.util.TreeSet
            dup
            getstatic java.lang.String.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
            invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
            putstatic jdk.incubator.http.internal.websocket.OpeningHandshake.ILLEGAL_HEADERS:Ljava/util/Set;
         4: .line 85
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.ILLEGAL_HEADERS:Ljava/util/Set;
            ldc "Sec-WebSocket-Accept"
         5: .line 86
            ldc "Sec-WebSocket-Extensions"
         6: .line 87
            ldc "Sec-WebSocket-Key"
         7: .line 88
            ldc "Sec-WebSocket-Protocol"
         8: .line 89
            ldc "Sec-WebSocket-Version"
         9: .line 85
            invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
            pop
        10: .line 92
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putstatic jdk.incubator.http.internal.websocket.OpeningHandshake.random:Ljava/security/SecureRandom;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(jdk.incubator.http.internal.websocket.BuilderImpl);
    descriptor: (Ljdk/incubator/http/internal/websocket/BuilderImpl;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
        start local 1 // jdk.incubator.http.internal.websocket.BuilderImpl b
         0: .line 111
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 99
            aload 0 /* this */
            ldc "SHA-1"
            invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
            putfield jdk.incubator.http.internal.websocket.OpeningHandshake.sha1:Ljava/security/MessageDigest;
         2: .line 100
            goto 5
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl
      StackMap stack: java.security.NoSuchAlgorithmException
         3: astore 2 /* e */
        start local 2 // java.security.NoSuchAlgorithmException e
         4: .line 103
            new java.lang.InternalError
            dup
            ldc "Minimum requirements"
            aload 2 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException e
         5: .line 112
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getUri:()Ljava/net/URI;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkURI:(Ljava/net/URI;)Ljava/net/URI;
            pop
         6: .line 113
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getProxySelector:()Ljava/util/Optional;
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getUri:()Ljava/net/URI;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.proxyFor:(Ljava/util/Optional;Ljava/net/URI;)Ljava/net/Proxy;
            astore 2 /* proxy */
        start local 2 // java.net.Proxy proxy
         7: .line 114
            aload 1 /* b */
            aload 2 /* proxy */
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkPermissions:(Ljdk/incubator/http/internal/websocket/BuilderImpl;Ljava/net/Proxy;)V
         8: .line 115
            aload 0 /* this */
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getClient:()Ljdk/incubator/http/HttpClient;
            putfield jdk.incubator.http.internal.websocket.OpeningHandshake.client:Ljdk/incubator/http/HttpClient;
         9: .line 116
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getUri:()Ljava/net/URI;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.createRequestURI:(Ljava/net/URI;)Ljava/net/URI;
            astore 3 /* httpURI */
        start local 3 // java.net.URI httpURI
        10: .line 117
            aload 3 /* httpURI */
            invokestatic jdk.incubator.http.HttpRequest.newBuilder:(Ljava/net/URI;)Ljdk/incubator/http/HttpRequest$Builder;
            astore 4 /* requestBuilder */
        start local 4 // jdk.incubator.http.HttpRequest$Builder requestBuilder
        11: .line 118
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getConnectTimeout:()Ljava/time/Duration;
            astore 5 /* connectTimeout */
        start local 5 // java.time.Duration connectTimeout
        12: .line 119
            aload 5 /* connectTimeout */
            ifnull 14
        13: .line 120
            aload 4 /* requestBuilder */
            aload 5 /* connectTimeout */
            invokevirtual jdk.incubator.http.HttpRequest$Builder.timeout:(Ljava/time/Duration;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        14: .line 122
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.Proxy java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration
      StackMap stack:
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getHeaders:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 7
            goto 19
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.Proxy java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration top java.util.Iterator
      StackMap stack:
        15: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.incubator.http.internal.common.Pair
            astore 6 /* p */
        start local 6 // jdk.incubator.http.internal.common.Pair p
        16: .line 123
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.ILLEGAL_HEADERS:Ljava/util/Set;
            aload 6 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 18
        17: .line 124
            new java.lang.StringBuilder
            dup
            ldc "Illegal header: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            checkcast java.lang.String
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
        18: .line 126
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.Proxy java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration jdk.incubator.http.internal.common.Pair java.util.Iterator
      StackMap stack:
            aload 4 /* requestBuilder */
            aload 6 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            checkcast java.lang.String
            aload 6 /* p */
            getfield jdk.incubator.http.internal.common.Pair.second:Ljava/lang/Object;
            checkcast java.lang.String
            invokevirtual jdk.incubator.http.HttpRequest$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        end local 6 // jdk.incubator.http.internal.common.Pair p
        19: .line 122
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.Proxy java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration top java.util.Iterator
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 15
        20: .line 128
            aload 0 /* this */
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getSubprotocols:()Ljava/util/Collection;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.createRequestSubprotocols:(Ljava/util/Collection;)Ljava/util/Collection;
            putfield jdk.incubator.http.internal.websocket.OpeningHandshake.subprotocols:Ljava/util/Collection;
        21: .line 129
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.subprotocols:Ljava/util/Collection;
            invokeinterface java.util.Collection.isEmpty:()Z
            ifne 24
        22: .line 130
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.subprotocols:Ljava/util/Collection;
            invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
            ldc ", "
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* p */
        start local 6 // java.lang.String p
        23: .line 131
            aload 4 /* requestBuilder */
            ldc "Sec-WebSocket-Protocol"
            aload 6 /* p */
            invokevirtual jdk.incubator.http.HttpRequest$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        end local 6 // java.lang.String p
        24: .line 133
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.Proxy java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration
      StackMap stack:
            aload 4 /* requestBuilder */
            ldc "Sec-WebSocket-Version"
            ldc "13"
            invokevirtual jdk.incubator.http.HttpRequest$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        25: .line 134
            aload 0 /* this */
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.createNonce:()Ljava/lang/String;
            putfield jdk.incubator.http.internal.websocket.OpeningHandshake.nonce:Ljava/lang/String;
        26: .line 135
            aload 4 /* requestBuilder */
            ldc "Sec-WebSocket-Key"
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.nonce:Ljava/lang/String;
            invokevirtual jdk.incubator.http.HttpRequest$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        27: .line 140
            aload 0 /* this */
            aload 4 /* requestBuilder */
            getstatic jdk.incubator.http.HttpClient$Version.HTTP_1_1:Ljdk/incubator/http/HttpClient$Version;
            invokevirtual jdk.incubator.http.HttpRequest$Builder.version:(Ljdk/incubator/http/HttpClient$Version;)Ljdk/incubator/http/HttpRequest$Builder;
            invokevirtual jdk.incubator.http.HttpRequest$Builder.GET:()Ljdk/incubator/http/HttpRequest$Builder;
            invokevirtual jdk.incubator.http.HttpRequest$Builder.build:()Ljdk/incubator/http/HttpRequest;
            putfield jdk.incubator.http.internal.websocket.OpeningHandshake.request:Ljdk/incubator/http/HttpRequest;
        28: .line 141
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.request:Ljdk/incubator/http/HttpRequest;
            checkcast jdk.incubator.http.internal.websocket.WebSocketRequest
            astore 6 /* r */
        start local 6 // jdk.incubator.http.internal.websocket.WebSocketRequest r
        29: .line 142
            aload 6 /* r */
            iconst_1
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.isWebSocket:(Z)V
        30: .line 143
            aload 6 /* r */
            ldc "Upgrade"
            ldc "websocket"
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.setSystemHeader:(Ljava/lang/String;Ljava/lang/String;)V
        31: .line 144
            aload 6 /* r */
            ldc "Connection"
            ldc "Upgrade"
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.setSystemHeader:(Ljava/lang/String;Ljava/lang/String;)V
        32: .line 145
            aload 6 /* r */
            aload 2 /* proxy */
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.setProxy:(Ljava/net/Proxy;)V
        33: .line 146
            return
        end local 6 // jdk.incubator.http.internal.websocket.WebSocketRequest r
        end local 5 // java.time.Duration connectTimeout
        end local 4 // jdk.incubator.http.HttpRequest$Builder requestBuilder
        end local 3 // java.net.URI httpURI
        end local 2 // java.net.Proxy proxy
        end local 1 // jdk.incubator.http.internal.websocket.BuilderImpl b
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   34     0            this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0   34     1               b  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            7   34     2           proxy  Ljava/net/Proxy;
           10   34     3         httpURI  Ljava/net/URI;
           11   34     4  requestBuilder  Ljdk/incubator/http/HttpRequest$Builder;
           12   34     5  connectTimeout  Ljava/time/Duration;
           16   19     6               p  Ljdk/incubator/http/internal/common/Pair<Ljava/lang/String;Ljava/lang/String;>;
           23   24     6               p  Ljava/lang/String;
           29   34     6               r  Ljdk/incubator/http/internal/websocket/WebSocketRequest;
            4    5     2               e  Ljava/security/NoSuchAlgorithmException;
      Exception table:
        from    to  target  type
           1     2       3  Class java.security.NoSuchAlgorithmException
    MethodParameters:
      Name  Flags
      b     

  private static java.util.Collection<java.lang.String> createRequestSubprotocols(java.util.Collection<java.lang.String>);
    descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // java.util.Collection subprotocols
         0: .line 151
            new java.util.LinkedHashSet
            dup
            aload 0 /* subprotocols */
            invokeinterface java.util.Collection.size:()I
            fconst_1
            invokespecial java.util.LinkedHashSet.<init>:(IF)V
            astore 1 /* sp */
        start local 1 // java.util.LinkedHashSet sp
         1: .line 152
            aload 0 /* subprotocols */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 7
      StackMap locals: java.util.Collection java.util.LinkedHashSet top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* s */
        start local 2 // java.lang.String s
         3: .line 153
            aload 2 /* s */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 4
            aload 2 /* s */
            invokestatic jdk.incubator.http.internal.common.Utils.isValidName:(Ljava/lang/String;)Z
            ifne 5
         4: .line 154
      StackMap locals: java.util.Collection java.util.LinkedHashSet java.lang.String java.util.Iterator
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Bad subprotocol syntax: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
         5: .line 156
      StackMap locals:
      StackMap stack:
            aload 1 /* sp */
            aload 2 /* s */
            invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 157
            new java.lang.StringBuilder
            dup
            ldc "Duplicating subprotocol: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
        end local 2 // java.lang.String s
         7: .line 152
      StackMap locals: java.util.Collection java.util.LinkedHashSet top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         8: .line 160
            aload 1 /* sp */
            invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
            areturn
        end local 1 // java.util.LinkedHashSet sp
        end local 0 // java.util.Collection subprotocols
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0  subprotocols  Ljava/util/Collection<Ljava/lang/String;>;
            1    9     1            sp  Ljava/util/LinkedHashSet<Ljava/lang/String;>;
            3    7     2             s  Ljava/lang/String;
    Signature: (Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/Collection<Ljava/lang/String;>;
    MethodParameters:
              Name  Flags
      subprotocols  

  static java.net.URI createRequestURI(java.net.URI);
    descriptor: (Ljava/net/URI;)Ljava/net/URI;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=4, args_size=1
        start local 0 // java.net.URI uri
         0: .line 170
            aload 0 /* uri */
            invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
            astore 1 /* s */
        start local 1 // java.lang.String s
         1: .line 171
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.$assertionsDisabled:Z
            ifne 2
            ldc "ws"
            aload 1 /* s */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 2
            ldc "wss"
            aload 1 /* s */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 172
      StackMap locals: java.lang.String
      StackMap stack:
            ldc "ws"
            aload 1 /* s */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 3
            ldc "http"
            goto 4
      StackMap locals:
      StackMap stack:
         3: ldc "https"
      StackMap locals:
      StackMap stack: java.lang.String
         4: astore 2 /* scheme */
        start local 2 // java.lang.String scheme
         5: .line 174
            new java.net.URI
            dup
            aload 2 /* scheme */
         6: .line 175
            aload 0 /* uri */
            invokevirtual java.net.URI.getUserInfo:()Ljava/lang/String;
         7: .line 176
            aload 0 /* uri */
            invokevirtual java.net.URI.getHost:()Ljava/lang/String;
         8: .line 177
            aload 0 /* uri */
            invokevirtual java.net.URI.getPort:()I
         9: .line 178
            aload 0 /* uri */
            invokevirtual java.net.URI.getPath:()Ljava/lang/String;
        10: .line 179
            aload 0 /* uri */
            invokevirtual java.net.URI.getQuery:()Ljava/lang/String;
        11: .line 180
            aconst_null
        12: .line 174
            invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        13: areturn
        14: .line 181
      StackMap locals: java.net.URI java.lang.String java.lang.String
      StackMap stack: java.net.URISyntaxException
            astore 3 /* e */
        start local 3 // java.net.URISyntaxException e
        15: .line 183
            new java.lang.InternalError
            dup
            aload 3 /* e */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.net.URISyntaxException e
        end local 2 // java.lang.String scheme
        end local 1 // java.lang.String s
        end local 0 // java.net.URI uri
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   16     0     uri  Ljava/net/URI;
            1   16     1       s  Ljava/lang/String;
            5   16     2  scheme  Ljava/lang/String;
           15   16     3       e  Ljava/net/URISyntaxException;
      Exception table:
        from    to  target  type
           5    13      14  Class java.net.URISyntaxException
    MethodParameters:
      Name  Flags
      uri   

  public java.util.concurrent.CompletableFuture<jdk.incubator.http.internal.websocket.OpeningHandshake$Result> send();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
         0: .line 188
            aload 0 /* this */
            invokedynamic run(Ljdk/incubator/http/internal/websocket/OpeningHandshake;)Ljava/security/PrivilegedAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/incubator/http/internal/websocket/OpeningHandshake.lambda$0()Ljava/util/concurrent/CompletableFuture; (7)
                  ()Ljava/util/concurrent/CompletableFuture;
            astore 1 /* pa */
        start local 1 // java.security.PrivilegedAction pa
         1: .line 191
            aload 1 /* pa */
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.util.concurrent.CompletableFuture
            areturn
        end local 1 // java.security.PrivilegedAction pa
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            1    2     1    pa  Ljava/security/PrivilegedAction<Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;>;>;
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;>;

  private java.util.concurrent.CompletableFuture<jdk.incubator.http.internal.websocket.OpeningHandshake$Result> resultFrom(jdk.incubator.http.HttpResponse<?>);
    descriptor: (Ljdk/incubator/http/HttpResponse;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
        start local 1 // jdk.incubator.http.HttpResponse response
         0: .line 215
            aconst_null
            astore 2 /* result */
        start local 2 // jdk.incubator.http.internal.websocket.OpeningHandshake$Result result
         1: .line 216
            aconst_null
            astore 3 /* exception */
        start local 3 // java.lang.Exception exception
         2: .line 218
            aload 0 /* this */
            aload 1 /* response */
            invokevirtual jdk.incubator.http.internal.websocket.OpeningHandshake.handleResponse:(Ljdk/incubator/http/HttpResponse;)Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;
            astore 2 /* result */
         3: .line 219
            goto 9
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.HttpResponse jdk.incubator.http.internal.websocket.OpeningHandshake$Result java.lang.Exception
      StackMap stack: java.io.IOException
         4: astore 4 /* e */
        start local 4 // java.io.IOException e
         5: .line 220
            aload 4 /* e */
            astore 3 /* exception */
        end local 4 // java.io.IOException e
         6: goto 9
         7: .line 221
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 4 /* e */
        start local 4 // java.lang.Exception e
         8: .line 222
            new jdk.incubator.http.WebSocketHandshakeException
            dup
            aload 1 /* response */
            invokespecial jdk.incubator.http.WebSocketHandshakeException.<init>:(Ljdk/incubator/http/HttpResponse;)V
            aload 4 /* e */
            invokevirtual jdk.incubator.http.WebSocketHandshakeException.initCause:(Ljava/lang/Throwable;)Ljdk/incubator/http/WebSocketHandshakeException;
            astore 3 /* exception */
        end local 4 // java.lang.Exception e
         9: .line 224
      StackMap locals:
      StackMap stack:
            aload 3 /* exception */
            ifnonnull 11
        10: .line 225
            aload 2 /* result */
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
            areturn
        11: .line 228
      StackMap locals:
      StackMap stack:
            aload 1 /* response */
            checkcast jdk.incubator.http.internal.websocket.RawChannel$Provider
            invokeinterface jdk.incubator.http.internal.websocket.RawChannel$Provider.rawChannel:()Ljdk/incubator/http/internal/websocket/RawChannel;
            invokeinterface jdk.incubator.http.internal.websocket.RawChannel.close:()V
        12: .line 229
            goto 15
      StackMap locals:
      StackMap stack: java.io.IOException
        13: astore 4 /* e */
        start local 4 // java.io.IOException e
        14: .line 230
            aload 3 /* exception */
            aload 4 /* e */
            invokevirtual java.lang.Exception.addSuppressed:(Ljava/lang/Throwable;)V
        end local 4 // java.io.IOException e
        15: .line 232
      StackMap locals:
      StackMap stack:
            aload 3 /* exception */
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 3 // java.lang.Exception exception
        end local 2 // jdk.incubator.http.internal.websocket.OpeningHandshake$Result result
        end local 1 // jdk.incubator.http.HttpResponse response
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   16     0       this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0   16     1   response  Ljdk/incubator/http/HttpResponse<*>;
            1   16     2     result  Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;
            2   16     3  exception  Ljava/lang/Exception;
            5    6     4          e  Ljava/io/IOException;
            8    9     4          e  Ljava/lang/Exception;
           14   15     4          e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
           2     3       7  Class java.lang.Exception
          11    12      13  Class java.io.IOException
    Signature: (Ljdk/incubator/http/HttpResponse<*>;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;>;
    MethodParameters:
          Name  Flags
      response  

  private jdk.incubator.http.internal.websocket.OpeningHandshake$Result handleResponse(jdk.incubator.http.HttpResponse<?>);
    descriptor: (Ljdk/incubator/http/HttpResponse;)Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=12, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
        start local 1 // jdk.incubator.http.HttpResponse response
         0: .line 239
            aload 1 /* response */
            invokevirtual jdk.incubator.http.HttpResponse.statusCode:()I
            istore 2 /* c */
        start local 2 // int c
         1: .line 240
            iload 2 /* c */
            bipush 101
            if_icmpeq 3
         2: .line 241
            new java.lang.StringBuilder
            dup
            ldc "Unexpected HTTP response status code "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* c */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         3: .line 243
      StackMap locals: int
      StackMap stack:
            aload 1 /* response */
            invokevirtual jdk.incubator.http.HttpResponse.headers:()Ljdk/incubator/http/HttpHeaders;
            astore 3 /* headers */
        start local 3 // jdk.incubator.http.HttpHeaders headers
         4: .line 244
            aload 3 /* headers */
            ldc "Upgrade"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireSingle:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* upgrade */
        start local 4 // java.lang.String upgrade
         5: .line 245
            aload 4 /* upgrade */
            ldc "websocket"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 7
         6: .line 246
            ldc "Bad response field: Upgrade"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         7: .line 248
      StackMap locals: jdk.incubator.http.HttpHeaders java.lang.String
      StackMap stack:
            aload 3 /* headers */
            ldc "Connection"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireSingle:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/lang/String;
            astore 5 /* connection */
        start local 5 // java.lang.String connection
         8: .line 249
            aload 5 /* connection */
            ldc "Upgrade"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 10
         9: .line 250
            ldc "Bad response field: Connection"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
        10: .line 252
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* headers */
            ldc "Sec-WebSocket-Version"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireAtMostOne:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/util/Optional;
            astore 6 /* version */
        start local 6 // java.util.Optional version
        11: .line 253
            aload 6 /* version */
            invokevirtual java.util.Optional.isPresent:()Z
            ifeq 13
            aload 6 /* version */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast java.lang.String
            ldc "13"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
        12: .line 254
            ldc "Bad response field: Sec-WebSocket-Version"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
        13: .line 256
      StackMap locals: java.util.Optional
      StackMap stack:
            aload 3 /* headers */
            ldc "Sec-WebSocket-Extensions"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireAbsent:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)V
        14: .line 257
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.nonce:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 7 /* x */
        start local 7 // java.lang.String x
        15: .line 258
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.sha1:Ljava/security/MessageDigest;
            aload 7 /* x */
            getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            invokevirtual java.security.MessageDigest.update:([B)V
        16: .line 259
            invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.sha1:Ljava/security/MessageDigest;
            invokevirtual java.security.MessageDigest.digest:()[B
            invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
            astore 8 /* expected */
        start local 8 // java.lang.String expected
        17: .line 260
            aload 3 /* headers */
            ldc "Sec-WebSocket-Accept"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireSingle:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/lang/String;
            astore 9 /* actual */
        start local 9 // java.lang.String actual
        18: .line 261
            aload 9 /* actual */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            aload 8 /* expected */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 20
        19: .line 262
            ldc "Bad Sec-WebSocket-Accept"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
        20: .line 264
      StackMap locals: java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 3 /* headers */
            invokevirtual jdk.incubator.http.internal.websocket.OpeningHandshake.checkAndReturnSubprotocol:(Ljdk/incubator/http/HttpHeaders;)Ljava/lang/String;
            astore 10 /* subprotocol */
        start local 10 // java.lang.String subprotocol
        21: .line 265
            aload 1 /* response */
            checkcast jdk.incubator.http.internal.websocket.RawChannel$Provider
            invokeinterface jdk.incubator.http.internal.websocket.RawChannel$Provider.rawChannel:()Ljdk/incubator/http/internal/websocket/RawChannel;
            astore 11 /* channel */
        start local 11 // jdk.incubator.http.internal.websocket.RawChannel channel
        22: .line 266
            new jdk.incubator.http.internal.websocket.OpeningHandshake$Result
            dup
            aload 10 /* subprotocol */
            new jdk.incubator.http.internal.websocket.TransportSupplier
            dup
            aload 11 /* channel */
            invokespecial jdk.incubator.http.internal.websocket.TransportSupplier.<init>:(Ljdk/incubator/http/internal/websocket/RawChannel;)V
            invokespecial jdk.incubator.http.internal.websocket.OpeningHandshake$Result.<init>:(Ljava/lang/String;Ljdk/incubator/http/internal/websocket/TransportSupplier;)V
            areturn
        end local 11 // jdk.incubator.http.internal.websocket.RawChannel channel
        end local 10 // java.lang.String subprotocol
        end local 9 // java.lang.String actual
        end local 8 // java.lang.String expected
        end local 7 // java.lang.String x
        end local 6 // java.util.Optional version
        end local 5 // java.lang.String connection
        end local 4 // java.lang.String upgrade
        end local 3 // jdk.incubator.http.HttpHeaders headers
        end local 2 // int c
        end local 1 // jdk.incubator.http.HttpResponse response
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   23     0         this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0   23     1     response  Ljdk/incubator/http/HttpResponse<*>;
            1   23     2            c  I
            4   23     3      headers  Ljdk/incubator/http/HttpHeaders;
            5   23     4      upgrade  Ljava/lang/String;
            8   23     5   connection  Ljava/lang/String;
           11   23     6      version  Ljava/util/Optional<Ljava/lang/String;>;
           15   23     7            x  Ljava/lang/String;
           17   23     8     expected  Ljava/lang/String;
           18   23     9       actual  Ljava/lang/String;
           21   23    10  subprotocol  Ljava/lang/String;
           22   23    11      channel  Ljdk/incubator/http/internal/websocket/RawChannel;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljdk/incubator/http/HttpResponse<*>;)Ljdk/incubator/http/internal/websocket/OpeningHandshake$Result;
    MethodParameters:
          Name  Flags
      response  

  private java.lang.String checkAndReturnSubprotocol(jdk.incubator.http.HttpHeaders);
    descriptor: (Ljdk/incubator/http/HttpHeaders;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
        start local 1 // jdk.incubator.http.HttpHeaders responseHeaders
         0: .line 272
            aload 1 /* responseHeaders */
            ldc "Sec-WebSocket-Protocol"
            invokevirtual jdk.incubator.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
            astore 2 /* opt */
        start local 2 // java.util.Optional opt
         1: .line 273
            aload 2 /* opt */
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 3
         2: .line 276
            ldc ""
            areturn
         3: .line 278
      StackMap locals: java.util.Optional
      StackMap stack:
            aload 1 /* responseHeaders */
            ldc "Sec-WebSocket-Protocol"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireSingle:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* s */
        start local 3 // java.lang.String s
         4: .line 281
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.subprotocols:Ljava/util/Collection;
            aload 3 /* s */
            invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 282
            aload 3 /* s */
            areturn
         6: .line 284
      StackMap locals: java.lang.String
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Unexpected subprotocol: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
        end local 3 // java.lang.String s
        end local 2 // java.util.Optional opt
        end local 1 // jdk.incubator.http.HttpHeaders responseHeaders
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    7     0             this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0    7     1  responseHeaders  Ljdk/incubator/http/HttpHeaders;
            1    7     2              opt  Ljava/util/Optional<Ljava/lang/String;>;
            4    7     3                s  Ljava/lang/String;
    Exceptions:
      throws jdk.incubator.http.internal.websocket.CheckFailedException
    MethodParameters:
                 Name  Flags
      responseHeaders  

  private static void requireAbsent(jdk.incubator.http.HttpHeaders, java.lang.String);
    descriptor: (Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.incubator.http.HttpHeaders responseHeaders
        start local 1 // java.lang.String headerName
         0: .line 291
            aload 0 /* responseHeaders */
            aload 1 /* headerName */
            invokevirtual jdk.incubator.http.HttpHeaders.allValues:(Ljava/lang/String;)Ljava/util/List;
            astore 2 /* values */
        start local 2 // java.util.List values
         1: .line 292
            aload 2 /* values */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 6
         2: .line 293
            ldc "Response field '%s' present: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 294
            aload 1 /* headerName */
            aastore
            dup
            iconst_1
         4: .line 295
            aload 2 /* values */
            invokestatic jdk.incubator.http.internal.common.Utils.stringOf:(Ljava/util/Collection;)Ljava/lang/String;
            aastore
         5: .line 293
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         6: .line 297
      StackMap locals: java.util.List
      StackMap stack:
            return
        end local 2 // java.util.List values
        end local 1 // java.lang.String headerName
        end local 0 // jdk.incubator.http.HttpHeaders responseHeaders
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    7     0  responseHeaders  Ljdk/incubator/http/HttpHeaders;
            0    7     1       headerName  Ljava/lang/String;
            1    7     2           values  Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
                 Name  Flags
      responseHeaders  
      headerName       

  private static java.util.Optional<java.lang.String> requireAtMostOne(jdk.incubator.http.HttpHeaders, java.lang.String);
    descriptor: (Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.incubator.http.HttpHeaders responseHeaders
        start local 1 // java.lang.String headerName
         0: .line 302
            aload 0 /* responseHeaders */
            aload 1 /* headerName */
            invokevirtual jdk.incubator.http.HttpHeaders.allValues:(Ljava/lang/String;)Ljava/util/List;
            astore 2 /* values */
        start local 2 // java.util.List values
         1: .line 303
            aload 2 /* values */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 6
         2: .line 304
            ldc "Response field '%s' multivalued: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 305
            aload 1 /* headerName */
            aastore
            dup
            iconst_1
         4: .line 306
            aload 2 /* values */
            invokestatic jdk.incubator.http.internal.common.Utils.stringOf:(Ljava/util/Collection;)Ljava/lang/String;
            aastore
         5: .line 304
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         6: .line 308
      StackMap locals: java.util.List
      StackMap stack:
            aload 2 /* values */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
            areturn
        end local 2 // java.util.List values
        end local 1 // java.lang.String headerName
        end local 0 // jdk.incubator.http.HttpHeaders responseHeaders
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    7     0  responseHeaders  Ljdk/incubator/http/HttpHeaders;
            0    7     1       headerName  Ljava/lang/String;
            1    7     2           values  Ljava/util/List<Ljava/lang/String;>;
    Signature: (Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/String;>;
    MethodParameters:
                 Name  Flags
      responseHeaders  
      headerName       

  private static java.lang.String requireSingle(jdk.incubator.http.HttpHeaders, java.lang.String);
    descriptor: (Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.incubator.http.HttpHeaders responseHeaders
        start local 1 // java.lang.String headerName
         0: .line 314
            aload 0 /* responseHeaders */
            aload 1 /* headerName */
            invokevirtual jdk.incubator.http.HttpHeaders.allValues:(Ljava/lang/String;)Ljava/util/List;
            astore 2 /* values */
        start local 2 // java.util.List values
         1: .line 315
            aload 2 /* values */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 3
         2: .line 316
            new java.lang.StringBuilder
            dup
            ldc "Response field missing: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* headerName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         3: .line 317
      StackMap locals: java.util.List
      StackMap stack:
            aload 2 /* values */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 8
         4: .line 318
            ldc "Response field '%s' multivalued: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 319
            aload 1 /* headerName */
            aastore
            dup
            iconst_1
         6: .line 320
            aload 2 /* values */
            invokestatic jdk.incubator.http.internal.common.Utils.stringOf:(Ljava/util/Collection;)Ljava/lang/String;
            aastore
         7: .line 318
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
         8: .line 322
      StackMap locals:
      StackMap stack:
            aload 2 /* values */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            areturn
        end local 2 // java.util.List values
        end local 1 // java.lang.String headerName
        end local 0 // jdk.incubator.http.HttpHeaders responseHeaders
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    9     0  responseHeaders  Ljdk/incubator/http/HttpHeaders;
            0    9     1       headerName  Ljava/lang/String;
            1    9     2           values  Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
                 Name  Flags
      responseHeaders  
      headerName       

  private static java.lang.String createNonce();
    descriptor: ()Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 326
            bipush 16
            newarray 8
            astore 0 /* bytes */
        start local 0 // byte[] bytes
         1: .line 327
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.random:Ljava/security/SecureRandom;
            aload 0 /* bytes */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 328
            invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
            aload 0 /* bytes */
            invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
            areturn
        end local 0 // byte[] bytes
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1    3     0  bytes  [B

  private static jdk.incubator.http.internal.websocket.CheckFailedException checkFailed(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String message
         0: .line 332
            new jdk.incubator.http.internal.websocket.CheckFailedException
            dup
            aload 0 /* message */
            invokespecial jdk.incubator.http.internal.websocket.CheckFailedException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.lang.String message
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  

  private static java.net.URI checkURI(java.net.URI);
    descriptor: (Ljava/net/URI;)Ljava/net/URI;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.net.URI uri
         0: .line 336
            aload 0 /* uri */
            invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
            astore 1 /* scheme */
        start local 1 // java.lang.String scheme
         1: .line 337
            ldc "ws"
            aload 1 /* scheme */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 3
            ldc "wss"
            aload 1 /* scheme */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 3
         2: .line 338
            new java.lang.StringBuilder
            dup
            ldc "invalid URI scheme: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* scheme */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
         3: .line 339
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* uri */
            invokevirtual java.net.URI.getHost:()Ljava/lang/String;
            ifnonnull 5
         4: .line 340
            new java.lang.StringBuilder
            dup
            ldc "URI must contain a host: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* uri */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
         5: .line 341
      StackMap locals:
      StackMap stack:
            aload 0 /* uri */
            invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
            ifnull 7
         6: .line 342
            new java.lang.StringBuilder
            dup
            ldc "URI must not contain a fragment: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* uri */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.illegal:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
            athrow
         7: .line 343
      StackMap locals:
      StackMap stack:
            aload 0 /* uri */
            areturn
        end local 1 // java.lang.String scheme
        end local 0 // java.net.URI uri
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0     uri  Ljava/net/URI;
            1    8     1  scheme  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      uri   

  private static java.lang.IllegalArgumentException illegal(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String message
         0: .line 347
            new java.lang.IllegalArgumentException
            dup
            aload 0 /* message */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            areturn
        end local 0 // java.lang.String message
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  

  private static java.net.Proxy proxyFor(java.util.Optional<java.net.ProxySelector>, java.net.URI);
    descriptor: (Ljava/util/Optional;Ljava/net/URI;)Ljava/net/Proxy;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // java.util.Optional selector
        start local 1 // java.net.URI uri
         0: .line 355
            aload 0 /* selector */
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 2
         1: .line 356
            aconst_null
            areturn
         2: .line 358
      StackMap locals:
      StackMap stack:
            aload 1 /* uri */
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.createRequestURI:(Ljava/net/URI;)Ljava/net/URI;
            astore 2 /* requestURI */
        start local 2 // java.net.URI requestURI
         3: .line 359
            aload 0 /* selector */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast java.net.ProxySelector
            aload 2 /* requestURI */
            invokevirtual java.net.ProxySelector.select:(Ljava/net/URI;)Ljava/util/List;
            astore 3 /* pl */
        start local 3 // java.util.List pl
         4: .line 360
            aload 3 /* pl */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 6
         5: .line 361
            aconst_null
            areturn
         6: .line 363
      StackMap locals: java.net.URI java.util.List
      StackMap stack:
            aload 3 /* pl */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.net.Proxy
            astore 4 /* proxy */
        start local 4 // java.net.Proxy proxy
         7: .line 364
            aload 4 /* proxy */
            invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
            getstatic java.net.Proxy$Type.HTTP:Ljava/net/Proxy$Type;
            if_acmpeq 9
         8: .line 365
            aconst_null
            areturn
         9: .line 367
      StackMap locals: java.net.Proxy
      StackMap stack:
            aload 4 /* proxy */
            areturn
        end local 4 // java.net.Proxy proxy
        end local 3 // java.util.List pl
        end local 2 // java.net.URI requestURI
        end local 1 // java.net.URI uri
        end local 0 // java.util.Optional selector
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0    selector  Ljava/util/Optional<Ljava/net/ProxySelector;>;
            0   10     1         uri  Ljava/net/URI;
            3   10     2  requestURI  Ljava/net/URI;
            4   10     3          pl  Ljava/util/List<Ljava/net/Proxy;>;
            7   10     4       proxy  Ljava/net/Proxy;
    Signature: (Ljava/util/Optional<Ljava/net/ProxySelector;>;Ljava/net/URI;)Ljava/net/Proxy;
    MethodParameters:
          Name  Flags
      selector  
      uri       

  static void checkPermissions(jdk.incubator.http.internal.websocket.BuilderImpl, java.net.Proxy);
    descriptor: (Ljdk/incubator/http/internal/websocket/BuilderImpl;Ljava/net/Proxy;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.BuilderImpl b
        start local 1 // java.net.Proxy proxy
         0: .line 377
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* sm */
        start local 2 // java.lang.SecurityManager sm
         1: .line 378
            aload 2 /* sm */
            ifnonnull 3
         2: .line 379
            return
         3: .line 381
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            aload 0 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getHeaders:()Ljava/util/Collection;
            invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/incubator/http/internal/websocket/OpeningHandshake.lambda$2(Ljdk/incubator/http/internal/common/Pair;)Ljava/lang/String; (6)
                  (Ljdk/incubator/http/internal/common/Pair;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
            astore 3 /* headers */
        start local 3 // java.util.stream.Stream headers
         4: .line 382
            aload 0 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getUri:()Ljava/net/URI;
            ldc ""
            aload 3 /* headers */
            invokestatic jdk.incubator.http.internal.common.Utils.permissionForServer:(Ljava/net/URI;Ljava/lang/String;Ljava/util/stream/Stream;)Ljava/net/URLPermission;
            astore 4 /* perm1 */
        start local 4 // java.net.URLPermission perm1
         5: .line 383
            aload 2 /* sm */
            aload 4 /* perm1 */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         6: .line 384
            aload 1 /* proxy */
            ifnonnull 8
         7: .line 385
            return
         8: .line 387
      StackMap locals: java.util.stream.Stream java.net.URLPermission
      StackMap stack:
            aload 1 /* proxy */
            invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
            checkcast java.net.InetSocketAddress
            invokestatic jdk.incubator.http.internal.common.Utils.permissionForProxy:(Ljava/net/InetSocketAddress;)Ljava/net/URLPermission;
            astore 5 /* perm2 */
        start local 5 // java.net.URLPermission perm2
         9: .line 388
            aload 5 /* perm2 */
            ifnull 11
        10: .line 389
            aload 2 /* sm */
            aload 5 /* perm2 */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
        11: .line 391
      StackMap locals: java.net.URLPermission
      StackMap stack:
            return
        end local 5 // java.net.URLPermission perm2
        end local 4 // java.net.URLPermission perm1
        end local 3 // java.util.stream.Stream headers
        end local 2 // java.lang.SecurityManager sm
        end local 1 // java.net.Proxy proxy
        end local 0 // jdk.incubator.http.internal.websocket.BuilderImpl b
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0        b  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            0   12     1    proxy  Ljava/net/Proxy;
            1   12     2       sm  Ljava/lang/SecurityManager;
            4   12     3  headers  Ljava/util/stream/Stream<Ljava/lang/String;>;
            5   12     4    perm1  Ljava/net/URLPermission;
            9   12     5    perm2  Ljava/net/URLPermission;
    MethodParameters:
       Name  Flags
      b      
      proxy  

  private java.util.concurrent.CompletableFuture lambda$0();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
         0: .line 189
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.client:Ljdk/incubator/http/HttpClient;
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.request:Ljdk/incubator/http/HttpRequest;
            aconst_null
            invokestatic jdk.incubator.http.HttpResponse$BodyHandler.discard:(Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse$BodyHandler;
            invokevirtual jdk.incubator.http.HttpClient.sendAsync:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
         1: .line 190
            aload 0 /* this */
            invokedynamic apply(Ljdk/incubator/http/internal/websocket/OpeningHandshake;)Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/incubator/http/internal/websocket/OpeningHandshake.resultFrom(Ljdk/incubator/http/HttpResponse;)Ljava/util/concurrent/CompletableFuture; (7)
                  (Ljdk/incubator/http/HttpResponse;)Ljava/util/concurrent/CompletionStage;
            invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;

  private static java.lang.String lambda$2(jdk.incubator.http.internal.common.Pair);
    descriptor: (Ljdk/incubator/http/internal/common/Pair;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.common.Pair p
         0: .line 381
            aload 0 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            checkcast java.lang.String
            areturn
        end local 0 // jdk.incubator.http.internal.common.Pair p
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     p  Ljdk/incubator/http/internal/common/Pair<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "OpeningHandshake.java"
NestMembers:
  jdk.incubator.http.internal.websocket.OpeningHandshake$Result
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Type = java.net.Proxy$Type of java.net.Proxy
  public Encoder = java.util.Base64$Encoder of java.util.Base64
  public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
  public abstract Builder = jdk.incubator.http.HttpRequest$Builder of jdk.incubator.http.HttpRequest
  public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
  final Result = jdk.incubator.http.internal.websocket.OpeningHandshake$Result of jdk.incubator.http.internal.websocket.OpeningHandshake
  public abstract Provider = jdk.incubator.http.internal.websocket.RawChannel$Provider of jdk.incubator.http.internal.websocket.RawChannel