final class jdk.incubator.http.internal.websocket.OpeningHandshake
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, 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.util.Set<java.lang.String> FORBIDDEN_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 srandom;
    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 void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 75
            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.FORBIDDEN_HEADERS:Ljava/util/Set;
         1: .line 76
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.FORBIDDEN_HEADERS:Ljava/util/Set;
            ldc "Sec-WebSocket-Accept"
         2: .line 77
            ldc "Sec-WebSocket-Extensions"
         3: .line 78
            ldc "Sec-WebSocket-Key"
         4: .line 79
            ldc "Sec-WebSocket-Protocol"
         5: .line 80
            ldc "Sec-WebSocket-Version"
         6: .line 76
            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
         7: .line 83
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putstatic jdk.incubator.http.internal.websocket.OpeningHandshake.srandom:Ljava/security/SecureRandom;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(jdk.incubator.http.internal.websocket.BuilderImpl);
    descriptor: (Ljdk/incubator/http/internal/websocket/BuilderImpl;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=7, 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 102
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 90
            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 91
            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 94
            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 103
      StackMap locals:
      StackMap stack:
            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;
         6: .line 104
            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 2 /* httpURI */
        start local 2 // java.net.URI httpURI
         7: .line 105
            aload 2 /* httpURI */
            invokestatic jdk.incubator.http.HttpRequest.newBuilder:(Ljava/net/URI;)Ljdk/incubator/http/HttpRequest$Builder;
            astore 3 /* requestBuilder */
        start local 3 // jdk.incubator.http.HttpRequest$Builder requestBuilder
         8: .line 106
            aload 1 /* b */
            invokevirtual jdk.incubator.http.internal.websocket.BuilderImpl.getConnectTimeout:()Ljava/time/Duration;
            astore 4 /* connectTimeout */
        start local 4 // java.time.Duration connectTimeout
         9: .line 107
            aload 4 /* connectTimeout */
            ifnull 11
        10: .line 108
            aload 3 /* requestBuilder */
            aload 4 /* connectTimeout */
            invokevirtual jdk.incubator.http.HttpRequest$Builder.timeout:(Ljava/time/Duration;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        11: .line 110
      StackMap locals: 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 6
            goto 16
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration top java.util.Iterator
      StackMap stack:
        12: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.incubator.http.internal.common.Pair
            astore 5 /* p */
        start local 5 // jdk.incubator.http.internal.common.Pair p
        13: .line 111
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.FORBIDDEN_HEADERS:Ljava/util/Set;
            aload 5 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 15
        14: .line 112
            new java.lang.StringBuilder
            dup
            ldc "Illegal header: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* 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
        15: .line 114
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration jdk.incubator.http.internal.common.Pair java.util.Iterator
      StackMap stack:
            aload 3 /* requestBuilder */
            aload 5 /* p */
            getfield jdk.incubator.http.internal.common.Pair.first:Ljava/lang/Object;
            checkcast java.lang.String
            aload 5 /* 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 5 // jdk.incubator.http.internal.common.Pair p
        16: .line 110
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        17: .line 116
            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;
        18: .line 117
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.subprotocols:Ljava/util/Collection;
            invokeinterface java.util.Collection.isEmpty:()Z
            ifne 21
        19: .line 118
            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 5 /* p */
        start local 5 // java.lang.String p
        20: .line 119
            aload 3 /* requestBuilder */
            ldc "Sec-WebSocket-Protocol"
            aload 5 /* p */
            invokevirtual jdk.incubator.http.HttpRequest$Builder.header:(Ljava/lang/String;Ljava/lang/String;)Ljdk/incubator/http/HttpRequest$Builder;
            pop
        end local 5 // java.lang.String p
        21: .line 121
      StackMap locals: jdk.incubator.http.internal.websocket.OpeningHandshake jdk.incubator.http.internal.websocket.BuilderImpl java.net.URI jdk.incubator.http.HttpRequest$Builder java.time.Duration
      StackMap stack:
            aload 3 /* 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
        22: .line 122
            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;
        23: .line 123
            aload 3 /* 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
        24: .line 128
            aload 0 /* this */
            aload 3 /* 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;
        25: .line 129
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.request:Ljdk/incubator/http/HttpRequest;
            checkcast jdk.incubator.http.internal.websocket.WebSocketRequest
            astore 5 /* r */
        start local 5 // jdk.incubator.http.internal.websocket.WebSocketRequest r
        26: .line 130
            aload 5 /* r */
            iconst_1
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.isWebSocket:(Z)V
        27: .line 131
            aload 5 /* r */
            ldc "Upgrade"
            ldc "websocket"
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.setSystemHeader:(Ljava/lang/String;Ljava/lang/String;)V
        28: .line 132
            aload 5 /* r */
            ldc "Connection"
            ldc "Upgrade"
            invokeinterface jdk.incubator.http.internal.websocket.WebSocketRequest.setSystemHeader:(Ljava/lang/String;Ljava/lang/String;)V
        29: .line 133
            return
        end local 5 // jdk.incubator.http.internal.websocket.WebSocketRequest r
        end local 4 // java.time.Duration connectTimeout
        end local 3 // jdk.incubator.http.HttpRequest$Builder requestBuilder
        end local 2 // java.net.URI httpURI
        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   30     0            this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0   30     1               b  Ljdk/incubator/http/internal/websocket/BuilderImpl;
            7   30     2         httpURI  Ljava/net/URI;
            8   30     3  requestBuilder  Ljdk/incubator/http/HttpRequest$Builder;
            9   30     4  connectTimeout  Ljava/time/Duration;
           13   16     5               p  Ljdk/incubator/http/internal/common/Pair<Ljava/lang/String;Ljava/lang/String;>;
           20   21     5               p  Ljava/lang/String;
           26   30     5               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 138
            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 139
            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 140
            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 141
      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 143
      StackMap locals:
      StackMap stack:
            aload 1 /* sp */
            aload 2 /* s */
            invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 144
            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 139
      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 147
            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  

  private static java.net.URI createRequestURI(java.net.URI);
    descriptor: (Ljava/net/URI;)Ljava/net/URI;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=9, locals=4, args_size=1
        start local 0 // java.net.URI uri
         0: .line 159
            aload 0 /* uri */
            invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
            astore 1 /* s */
        start local 1 // java.lang.String s
         1: .line 160
            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
            ifeq 3
         2: .line 161
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* uri */
            invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
            ifnull 4
         3: .line 163
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Bad URI: "
            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
         4: .line 165
      StackMap locals:
      StackMap stack:
            ldc "ws"
            aload 1 /* s */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 5
            ldc "http"
            goto 6
      StackMap locals:
      StackMap stack:
         5: ldc "https"
      StackMap locals:
      StackMap stack: java.lang.String
         6: astore 2 /* scheme */
        start local 2 // java.lang.String scheme
         7: .line 167
            new java.net.URI
            dup
            aload 2 /* scheme */
         8: .line 168
            aload 0 /* uri */
            invokevirtual java.net.URI.getUserInfo:()Ljava/lang/String;
         9: .line 169
            aload 0 /* uri */
            invokevirtual java.net.URI.getHost:()Ljava/lang/String;
        10: .line 170
            aload 0 /* uri */
            invokevirtual java.net.URI.getPort:()I
        11: .line 171
            aload 0 /* uri */
            invokevirtual java.net.URI.getPath:()Ljava/lang/String;
        12: .line 172
            aload 0 /* uri */
            invokevirtual java.net.URI.getQuery:()Ljava/lang/String;
        13: .line 173
            aconst_null
        14: .line 167
            invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        15: areturn
        16: .line 174
      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
        17: .line 176
            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   18     0     uri  Ljava/net/URI;
            1   18     1       s  Ljava/lang/String;
            7   18     2  scheme  Ljava/lang/String;
           17   18     3       e  Ljava/net/URISyntaxException;
      Exception table:
        from    to  target  type
           7    15      16  Class java.net.URISyntaxException
    MethodParameters:
      Name  Flags
      uri   

  java.util.concurrent.CompletableFuture<jdk.incubator.http.internal.websocket.OpeningHandshake$Result> send();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
         0: .line 181
            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 182
            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;
         2: .line 181
            areturn
        end local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
    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 206
            aconst_null
            astore 2 /* result */
        start local 2 // jdk.incubator.http.internal.websocket.OpeningHandshake$Result result
         1: .line 207
            aconst_null
            astore 3 /* exception */
        start local 3 // java.lang.Exception exception
         2: .line 209
            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 210
            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 211
            aload 4 /* e */
            astore 3 /* exception */
        end local 4 // java.io.IOException e
         6: goto 9
         7: .line 212
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 4 /* e */
        start local 4 // java.lang.Exception e
         8: .line 213
            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 215
      StackMap locals:
      StackMap stack:
            aload 3 /* exception */
            ifnonnull 11
        10: .line 216
            aload 2 /* result */
            invokestatic jdk.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
            areturn
        11: .line 219
      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 220
            goto 15
      StackMap locals:
      StackMap stack: java.io.IOException
        13: astore 4 /* e */
        start local 4 // java.io.IOException e
        14: .line 221
            aload 3 /* exception */
            aload 4 /* e */
            invokevirtual java.lang.Exception.addSuppressed:(Ljava/lang/Throwable;)V
        end local 4 // java.io.IOException e
        15: .line 223
      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=4, locals=11, args_size=2
        start local 0 // jdk.incubator.http.internal.websocket.OpeningHandshake this
        start local 1 // jdk.incubator.http.HttpResponse response
         0: .line 230
            aload 1 /* response */
            invokevirtual jdk.incubator.http.HttpResponse.statusCode:()I
            istore 2 /* c */
        start local 2 // int c
         1: .line 231
            iload 2 /* c */
            bipush 101
            if_icmpeq 3
         2: .line 232
            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 234
      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 235
            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 236
            aload 4 /* upgrade */
            ldc "websocket"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 7
         6: .line 237
            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 239
      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 240
            aload 5 /* connection */
            ldc "Upgrade"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 10
         9: .line 241
            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 243
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* headers */
            ldc "Sec-WebSocket-Version"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireAbsent:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)V
        11: .line 244
            aload 3 /* headers */
            ldc "Sec-WebSocket-Extensions"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.requireAbsent:(Ljdk/incubator/http/HttpHeaders;Ljava/lang/String;)V
        12: .line 245
            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 6 /* x */
        start local 6 // java.lang.String x
        13: .line 246
            aload 0 /* this */
            getfield jdk.incubator.http.internal.websocket.OpeningHandshake.sha1:Ljava/security/MessageDigest;
            aload 6 /* 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
        14: .line 247
            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 7 /* expected */
        start local 7 // java.lang.String expected
        15: .line 248
            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 8 /* actual */
        start local 8 // java.lang.String actual
        16: .line 249
            aload 8 /* actual */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            aload 7 /* expected */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 18
        17: .line 250
            ldc "Bad Sec-WebSocket-Accept"
            invokestatic jdk.incubator.http.internal.websocket.OpeningHandshake.checkFailed:(Ljava/lang/String;)Ljdk/incubator/http/internal/websocket/CheckFailedException;
            athrow
        18: .line 252
      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 9 /* subprotocol */
        start local 9 // java.lang.String subprotocol
        19: .line 253
            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 10 /* channel */
        start local 10 // jdk.incubator.http.internal.websocket.RawChannel channel
        20: .line 254
            new jdk.incubator.http.internal.websocket.OpeningHandshake$Result
            dup
            aload 9 /* subprotocol */
            aload 10 /* channel */
            invokespecial jdk.incubator.http.internal.websocket.OpeningHandshake$Result.<init>:(Ljava/lang/String;Ljdk/incubator/http/internal/websocket/RawChannel;)V
            areturn
        end local 10 // jdk.incubator.http.internal.websocket.RawChannel channel
        end local 9 // java.lang.String subprotocol
        end local 8 // java.lang.String actual
        end local 7 // java.lang.String expected
        end local 6 // java.lang.String x
        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   21     0         this  Ljdk/incubator/http/internal/websocket/OpeningHandshake;
            0   21     1     response  Ljdk/incubator/http/HttpResponse<*>;
            1   21     2            c  I
            4   21     3      headers  Ljdk/incubator/http/HttpHeaders;
            5   21     4      upgrade  Ljava/lang/String;
            8   21     5   connection  Ljava/lang/String;
           13   21     6            x  Ljava/lang/String;
           15   21     7     expected  Ljava/lang/String;
           16   21     8       actual  Ljava/lang/String;
           19   21     9  subprotocol  Ljava/lang/String;
           20   21    10      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 260
            aload 1 /* responseHeaders */
            ldc "Sec-WebSocket-Protocol"
            invokeinterface jdk.incubator.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
            astore 2 /* opt */
        start local 2 // java.util.Optional opt
         1: .line 261
            aload 2 /* opt */
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 3
         2: .line 264
            ldc ""
            areturn
         3: .line 266
      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 269
            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 270
            aload 3 /* s */
            areturn
         6: .line 272
      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 279
            aload 0 /* responseHeaders */
            aload 1 /* headerName */
            invokeinterface jdk.incubator.http.HttpHeaders.allValues:(Ljava/lang/String;)Ljava/util/List;
            astore 2 /* values */
        start local 2 // java.util.List values
         1: .line 280
            aload 2 /* values */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 6
         2: .line 281
            ldc "Response field '%s' present: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 282
            aload 1 /* headerName */
            aastore
            dup
            iconst_1
         4: .line 283
            aload 2 /* values */
            invokestatic jdk.incubator.http.internal.common.Utils.stringOf:(Ljava/util/Collection;)Ljava/lang/String;
            aastore
         5: .line 281
            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 285
      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.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 290
            aload 0 /* responseHeaders */
            aload 1 /* headerName */
            invokeinterface jdk.incubator.http.HttpHeaders.allValues:(Ljava/lang/String;)Ljava/util/List;
            astore 2 /* values */
        start local 2 // java.util.List values
         1: .line 291
            aload 2 /* values */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 3
         2: .line 292
            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 293
      StackMap locals: java.util.List
      StackMap stack:
            aload 2 /* values */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 8
         4: .line 294
            ldc "Response field '%s' multivalued: %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 295
            aload 1 /* headerName */
            aastore
            dup
            iconst_1
         6: .line 296
            aload 2 /* values */
            invokestatic jdk.incubator.http.internal.common.Utils.stringOf:(Ljava/util/Collection;)Ljava/lang/String;
            aastore
         7: .line 294
            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 298
      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 302
            bipush 16
            newarray 8
            astore 0 /* bytes */
        start local 0 // byte[] bytes
         1: .line 303
            getstatic jdk.incubator.http.internal.websocket.OpeningHandshake.srandom:Ljava/security/SecureRandom;
            aload 0 /* bytes */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 304
            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 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 308
            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 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 312
            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  
}
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 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