class jdk.internal.net.http.AsyncSSLTunnelConnection extends jdk.internal.net.http.AbstractAsyncSSLConnection
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.net.http.AsyncSSLTunnelConnection
  super_class: jdk.internal.net.http.AbstractAsyncSSLConnection
{
  final jdk.internal.net.http.PlainTunnelingConnection plainConnection;
    descriptor: Ljdk/internal/net/http/PlainTunnelingConnection;
    flags: (0x0010) ACC_FINAL

  final jdk.internal.net.http.HttpConnection$PlainHttpPublisher writePublisher;
    descriptor: Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
    flags: (0x0010) ACC_FINAL

  volatile jdk.internal.net.http.common.SSLTube flow;
    descriptor: Ljdk/internal/net/http/common/SSLTube;
    flags: (0x0040) ACC_VOLATILE

  void <init>(java.net.InetSocketAddress, jdk.internal.net.http.HttpClientImpl, java.lang.String[], java.net.InetSocketAddress, java.net.http.HttpHeaders);
    descriptor: (Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;[Ljava/lang/String;Ljava/net/InetSocketAddress;Ljava/net/http/HttpHeaders;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=6, args_size=6
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
        start local 1 // java.net.InetSocketAddress addr
        start local 2 // jdk.internal.net.http.HttpClientImpl client
        start local 3 // java.lang.String[] alpn
        start local 4 // java.net.InetSocketAddress proxy
        start local 5 // java.net.http.HttpHeaders proxyHeaders
         0: .line 52
            aload 0 /* this */
            aload 1 /* addr */
            aload 2 /* client */
            aload 1 /* addr */
            invokestatic jdk.internal.net.http.common.Utils.getServerName:(Ljava/net/InetSocketAddress;)Ljdk/internal/net/http/common/Utils$ServerName;
            aload 1 /* addr */
            invokevirtual java.net.InetSocketAddress.getPort:()I
            aload 3 /* alpn */
            invokespecial jdk.internal.net.http.AbstractAsyncSSLConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;Ljdk/internal/net/http/common/Utils$ServerName;I[Ljava/lang/String;)V
         1: .line 53
            aload 0 /* this */
            new jdk.internal.net.http.PlainTunnelingConnection
            dup
            aload 1 /* addr */
            aload 4 /* proxy */
            aload 2 /* client */
            aload 5 /* proxyHeaders */
            invokespecial jdk.internal.net.http.PlainTunnelingConnection.<init>:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;Ljava/net/http/HttpHeaders;)V
            putfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
         2: .line 54
            aload 0 /* this */
            new jdk.internal.net.http.HttpConnection$PlainHttpPublisher
            dup
            aload 0 /* this */
            invokespecial jdk.internal.net.http.HttpConnection$PlainHttpPublisher.<init>:(Ljdk/internal/net/http/HttpConnection;)V
            putfield jdk.internal.net.http.AsyncSSLTunnelConnection.writePublisher:Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
         3: .line 55
            return
        end local 5 // java.net.http.HttpHeaders proxyHeaders
        end local 4 // java.net.InetSocketAddress proxy
        end local 3 // java.lang.String[] alpn
        end local 2 // jdk.internal.net.http.HttpClientImpl client
        end local 1 // java.net.InetSocketAddress addr
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;
            0    4     1          addr  Ljava/net/InetSocketAddress;
            0    4     2        client  Ljdk/internal/net/http/HttpClientImpl;
            0    4     3          alpn  [Ljava/lang/String;
            0    4     4         proxy  Ljava/net/InetSocketAddress;
            0    4     5  proxyHeaders  Ljava/net/http/HttpHeaders;
    MethodParameters:
              Name  Flags
      addr          
      client        
      alpn          
      proxy         
      proxyHeaders  

  public java.util.concurrent.CompletableFuture<java.lang.Void> connectAsync(jdk.internal.net.http.Exchange<?>);
    descriptor: (Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
        start local 1 // jdk.internal.net.http.Exchange exchange
         0: .line 59
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.debug:Ljdk/internal/net/http/common/Logger;
            ldc "Connecting plain tunnel connection"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         1: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
         2: .line 64
            aload 1 /* exchange */
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.connectAsync:(Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
         3: .line 65
            aload 0 /* this */
            invokedynamic apply(Ljdk/internal/net/http/AsyncSSLTunnelConnection;)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/internal/net/http/AsyncSSLTunnelConnection.lambda$0(Ljava/lang/Void;)Ljava/lang/Void; (7)
                  (Ljava/lang/Void;)Ljava/lang/Void;
            invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
         4: .line 63
            areturn
        end local 1 // jdk.internal.net.http.Exchange exchange
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;
            0    5     1  exchange  Ljdk/internal/net/http/Exchange<*>;
    Signature: (Ljdk/internal/net/http/Exchange<*>;)Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
    MethodParameters:
          Name  Flags
      exchange  

  public java.util.concurrent.CompletableFuture<java.lang.Void> finishConnect();
    descriptor: ()Ljava/util/concurrent/CompletableFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 79
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.AsyncSSLTunnelConnection.getALPN:()Ljava/util/concurrent/CompletableFuture;
         1: .line 80
            aload 0 /* this */
            invokedynamic apply(Ljdk/internal/net/http/AsyncSSLTunnelConnection;)Ljava/util/function/BiFunction;
              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;)Ljava/lang/Object;
                  jdk/internal/net/http/AsyncSSLTunnelConnection.lambda$2(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; (7)
                  (Ljava/lang/String;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.handle:(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
         2: .line 87
            invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
            invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
         3: .line 79
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;
    Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;

  boolean isTunnel();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 91
            iconst_1
            ireturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  boolean connected();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 95
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.connected:()Z
            ireturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  jdk.internal.net.http.HttpConnection$HttpPublisher publisher();
    descriptor: ()Ljdk/internal/net/http/HttpConnection$HttpPublisher;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 99
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.writePublisher:Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 103
            new java.lang.StringBuilder
            dup
            ldc "AsyncSSLTunnelConnection: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokespecial jdk.internal.net.http.AbstractAsyncSSLConnection.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  jdk.internal.net.http.ConnectionPool$CacheKey cacheKey();
    descriptor: ()Ljdk/internal/net/http/ConnectionPool$CacheKey;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 108
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.address:Ljava/net/InetSocketAddress;
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            getfield jdk.internal.net.http.PlainTunnelingConnection.proxyAddr:Ljava/net/InetSocketAddress;
            invokestatic jdk.internal.net.http.ConnectionPool.cacheKey:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)Ljdk/internal/net/http/ConnectionPool$CacheKey;
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 113
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.close:()V
         1: .line 114
            return
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  java.nio.channels.SocketChannel channel();
    descriptor: ()Ljava/nio/channels/SocketChannel;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 118
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.channel:()Ljava/nio/channels/SocketChannel;
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  boolean isProxied();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 123
            iconst_1
            ireturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  jdk.internal.net.http.common.SSLTube getConnectionFlow();
    descriptor: ()Ljdk/internal/net/http/common/SSLTube;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
         0: .line 128
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.flow:Ljdk/internal/net/http/common/SSLTube;
            areturn
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;

  jdk.internal.net.http.common.FlowTube getConnectionFlow();
    descriptor: ()Ljdk/internal/net/http/common/FlowTube;
    flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual jdk.internal.net.http.AsyncSSLTunnelConnection.getConnectionFlow:()Ljdk/internal/net/http/common/SSLTube;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private java.lang.Void lambda$0(java.lang.Void);
    descriptor: (Ljava/lang/Void;)Ljava/lang/Void;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
        start local 1 // java.lang.Void unused
         0: .line 66
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.debug:Ljdk/internal/net/http/common/Logger;
            invokeinterface jdk.internal.net.http.common.Logger.on:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.debug:Ljdk/internal/net/http/common/Logger;
            ldc "creating SSLTube"
            invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
         1: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new jdk.internal.net.http.common.SSLTube
            dup
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.engine:Ljavax/net/ssl/SSLEngine;
         2: .line 69
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.AsyncSSLTunnelConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
            invokevirtual jdk.internal.net.http.HttpClientImpl.theExecutor:()Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
         3: .line 70
            aload 0 /* this */
            invokevirtual jdk.internal.net.http.AsyncSSLTunnelConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
            invokevirtual jdk.internal.net.http.HttpClientImpl.getSSLBufferSupplier:()Ljdk/internal/net/http/common/BufferSupplier;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljdk/internal/net/http/common/BufferSupplier;)Ljava/util/function/Consumer;
              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;)V
                  jdk/internal/net/http/common/BufferSupplier.recycle(Ljava/nio/ByteBuffer;)V (9 itf)
                  (Ljava/nio/ByteBuffer;)V
         4: .line 71
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
            invokespecial jdk.internal.net.http.common.SSLTube.<init>:(Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;Ljdk/internal/net/http/common/FlowTube;)V
         5: .line 68
            putfield jdk.internal.net.http.AsyncSSLTunnelConnection.flow:Ljdk/internal/net/http/common/SSLTube;
         6: .line 72
            aconst_null
            areturn
        end local 1 // java.lang.Void unused
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;
            0    7     1  unused  Ljava/lang/Void;

  private java.util.concurrent.CompletableFuture lambda$2(java.lang.String, java.lang.Throwable);
    descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
        start local 1 // java.lang.String unused
        start local 2 // java.lang.Throwable ex
         0: .line 81
            aload 2 /* ex */
            ifnonnull 2
         1: .line 82
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.finishConnect:()Ljava/util/concurrent/CompletableFuture;
            areturn
         2: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
            invokevirtual jdk.internal.net.http.PlainTunnelingConnection.close:()V
         3: .line 85
            aload 2 /* ex */
            invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
            areturn
        end local 2 // java.lang.Throwable ex
        end local 1 // java.lang.String unused
        end local 0 // jdk.internal.net.http.AsyncSSLTunnelConnection this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/internal/net/http/AsyncSSLTunnelConnection;
            0    4     1  unused  Ljava/lang/String;
            0    4     2      ex  Ljava/lang/Throwable;
}
SourceFile: "AsyncSSLTunnelConnection.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  CacheKey = jdk.internal.net.http.ConnectionPool$CacheKey of jdk.internal.net.http.ConnectionPool
  final DelegatingExecutor = jdk.internal.net.http.HttpClientImpl$DelegatingExecutor of jdk.internal.net.http.HttpClientImpl
  abstract HttpPublisher = jdk.internal.net.http.HttpConnection$HttpPublisher of jdk.internal.net.http.HttpConnection
  final PlainHttpPublisher = jdk.internal.net.http.HttpConnection$PlainHttpPublisher of jdk.internal.net.http.HttpConnection
  public ServerName = jdk.internal.net.http.common.Utils$ServerName of jdk.internal.net.http.common.Utils