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 (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 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 1
invokestatic jdk.internal.net.http.common.Utils.getServerName:(Ljava/net/InetSocketAddress;)Ljdk/internal/net/http/common/Utils$ServerName;
aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
aload 3
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: aload 0
new jdk.internal.net.http.PlainTunnelingConnection
dup
aload 1
aload 4
aload 2
aload 5
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: aload 0
new jdk.internal.net.http.HttpConnection$PlainHttpPublisher
dup
aload 0
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: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
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
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: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
2: aload 1
invokevirtual jdk.internal.net.http.PlainTunnelingConnection.connectAsync:(Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
3: aload 0
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: areturn
end local 1 end local 0 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 0: aload 0
invokevirtual jdk.internal.net.http.AsyncSSLTunnelConnection.getALPN:()Ljava/util/concurrent/CompletableFuture;
1: aload 0
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: 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: areturn
end local 0 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 0: iconst_1
ireturn
end local 0 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 0: aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
invokevirtual jdk.internal.net.http.PlainTunnelingConnection.connected:()Z
ireturn
end local 0 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 0: aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.writePublisher:Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
areturn
end local 0 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 0: new java.lang.StringBuilder
dup
ldc "AsyncSSLTunnelConnection: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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 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 0: aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.address:Ljava/net/InetSocketAddress;
aload 0
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 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 0: aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
invokevirtual jdk.internal.net.http.PlainTunnelingConnection.close:()V
1: return
end local 0 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 0: aload 0
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 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 0: iconst_1
ireturn
end local 0 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 0: aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.flow:Ljdk/internal/net/http/common/SSLTube;
areturn
end local 0 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: 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 start local 1 0: aload 0
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
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: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.net.http.common.SSLTube
dup
aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.engine:Ljavax/net/ssl/SSLEngine;
2: aload 0
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: aload 0
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: aload 0
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: putfield jdk.internal.net.http.AsyncSSLTunnelConnection.flow:Ljdk/internal/net/http/common/SSLTube;
6: aconst_null
areturn
end local 1 end local 0 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 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
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: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.AsyncSSLTunnelConnection.plainConnection:Ljdk/internal/net/http/PlainTunnelingConnection;
invokevirtual jdk.internal.net.http.PlainTunnelingConnection.close:()V
3: aload 2
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 2 end local 1 end local 0 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