class jdk.internal.net.http.AsyncSSLConnection extends jdk.internal.net.http.AbstractAsyncSSLConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.AsyncSSLConnection
super_class: jdk.internal.net.http.AbstractAsyncSSLConnection
{
final jdk.internal.net.http.PlainHttpConnection plainConnection;
descriptor: Ljdk/internal/net/http/PlainHttpConnection;
flags: (0x0010) ACC_FINAL
final jdk.internal.net.http.HttpConnection$PlainHttpPublisher writePublisher;
descriptor: Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
flags: (0x0010) ACC_FINAL
private volatile jdk.internal.net.http.common.SSLTube flow;
descriptor: Ljdk/internal/net/http/common/SSLTube;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(java.net.InetSocketAddress, jdk.internal.net.http.HttpClientImpl, java.lang.String[]);
descriptor: (Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;[Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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.PlainHttpConnection
dup
aload 1
aload 2
invokespecial jdk.internal.net.http.PlainHttpConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;)V
putfield jdk.internal.net.http.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
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.AsyncSSLConnection.writePublisher:Ljdk/internal/net/http/HttpConnection$PlainHttpPublisher;
3: return
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/AsyncSSLConnection;
0 4 1 addr Ljava/net/InetSocketAddress;
0 4 2 client Ljdk/internal/net/http/HttpClientImpl;
0 4 3 alpn [Ljava/lang/String;
MethodParameters:
Name Flags
addr
client
alpn
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.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
1: aload 1
invokevirtual jdk.internal.net.http.PlainHttpConnection.connectAsync:(Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
2: aload 0
invokedynamic apply(Ljdk/internal/net/http/AsyncSSLConnection;)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/AsyncSSLConnection.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;
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/AsyncSSLConnection;
0 4 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.AsyncSSLConnection.getALPN:()Ljava/util/concurrent/CompletableFuture;
1: aload 0
invokedynamic apply(Ljdk/internal/net/http/AsyncSSLConnection;)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/AsyncSSLConnection.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/AsyncSSLConnection;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
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.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.connected:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/AsyncSSLConnection;
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.AsyncSSLConnection.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/AsyncSSLConnection;
boolean isProxied();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/AsyncSSLConnection;
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.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.channel:()Ljava/nio/channels/SocketChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/AsyncSSLConnection;
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.AsyncSSLConnection.address:Ljava/net/InetSocketAddress;
aconst_null
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/AsyncSSLConnection;
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.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/AsyncSSLConnection;
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.AsyncSSLConnection.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/AsyncSSLConnection;
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.AsyncSSLConnection.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
new jdk.internal.net.http.common.SSLTube
dup
aload 0
getfield jdk.internal.net.http.AsyncSSLConnection.engine:Ljavax/net/ssl/SSLEngine;
1: aload 0
invokevirtual jdk.internal.net.http.AsyncSSLConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.theExecutor:()Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
2: aload 0
invokevirtual jdk.internal.net.http.AsyncSSLConnection.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
3: aload 0
getfield jdk.internal.net.http.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.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
4: putfield jdk.internal.net.http.AsyncSSLConnection.flow:Ljdk/internal/net/http/common/SSLTube;
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/AsyncSSLConnection;
0 6 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.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.finishConnect:()Ljava/util/concurrent/CompletableFuture;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.AsyncSSLConnection.plainConnection:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.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/AsyncSSLConnection;
0 4 1 unused Ljava/lang/String;
0 4 2 ex Ljava/lang/Throwable;
}
SourceFile: "AsyncSSLConnection.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