final class jdk.internal.net.http.PlainTunnelingConnection extends jdk.internal.net.http.HttpConnection
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.PlainTunnelingConnection
super_class: jdk.internal.net.http.HttpConnection
{
final jdk.internal.net.http.PlainHttpConnection delegate;
descriptor: Ljdk/internal/net/http/PlainHttpConnection;
flags: (0x0010) ACC_FINAL
final java.net.http.HttpHeaders ;
descriptor: Ljava/net/http/HttpHeaders;
flags: (0x0010) ACC_FINAL
final java.net.InetSocketAddress proxyAddr;
descriptor: Ljava/net/InetSocketAddress;
flags: (0x0010) ACC_FINAL
private volatile boolean connected;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/PlainTunnelingConnection;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.PlainTunnelingConnection.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void (java.net.InetSocketAddress, java.net.InetSocketAddress, jdk.internal.net.http.HttpClientImpl, java.net.http.HttpHeaders);
descriptor: (Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;Ljava/net/http/HttpHeaders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 3
invokespecial jdk.internal.net.http.HttpConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;)V
1: aload 0
aload 2
putfield jdk.internal.net.http.PlainTunnelingConnection.proxyAddr:Ljava/net/InetSocketAddress;
2: aload 0
aload 4
putfield jdk.internal.net.http.PlainTunnelingConnection.proxyHeaders:Ljava/net/http/HttpHeaders;
3: aload 0
new jdk.internal.net.http.PlainHttpConnection
dup
aload 2
aload 3
invokespecial jdk.internal.net.http.PlainHttpConnection.<init>:(Ljava/net/InetSocketAddress;Ljdk/internal/net/http/HttpClientImpl;)V
putfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 5 1 addr Ljava/net/InetSocketAddress;
0 5 2 proxy Ljava/net/InetSocketAddress;
0 5 3 client Ljdk/internal/net/http/HttpClientImpl;
0 5 4 proxyHeaders Ljava/net/http/HttpHeaders;
MethodParameters:
Name Flags
addr
proxy
client
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.PlainTunnelingConnection.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.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
ldc "Connecting plain 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.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
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/PlainTunnelingConnection;)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/PlainTunnelingConnection.lambda$0(Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage; (7)
(Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
3: aload 0
invokedynamic apply(Ljdk/internal/net/http/PlainTunnelingConnection;)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/PlainTunnelingConnection.lambda$1(Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage; (7)
(Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(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/PlainTunnelingConnection;
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
iconst_1
putfield jdk.internal.net.http.PlainTunnelingConnection.connected:Z
1: aconst_null
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
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/PlainTunnelingConnection;
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.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.publisher:()Ljdk/internal/net/http/HttpConnection$HttpPublisher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
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.PlainTunnelingConnection.connected:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
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.PlainTunnelingConnection.delegate: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/PlainTunnelingConnection;
jdk.internal.net.http.common.FlowTube getConnectionFlow();
descriptor: ()Ljdk/internal/net/http/common/FlowTube;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
jdk.internal.net.http.ConnectionPool$CacheKey cacheKey();
descriptor: ()Ljdk/internal/net/http/ConnectionPool$CacheKey;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.internal.net.http.ConnectionPool$CacheKey
dup
aconst_null
aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.proxyAddr:Ljava/net/InetSocketAddress;
invokespecial jdk.internal.net.http.ConnectionPool$CacheKey.<init>:(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.close:()V
1: aload 0
iconst_0
putfield jdk.internal.net.http.PlainTunnelingConnection.connected:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
boolean isSecure();
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/PlainTunnelingConnection;
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/PlainTunnelingConnection;
private java.util.concurrent.CompletionStage lambda$0(java.lang.Void);
descriptor: (Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.finishConnect:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 1 1 unused Ljava/lang/Void;
private java.util.concurrent.CompletionStage lambda$1(java.lang.Void);
descriptor: (Ljava/lang/Void;)Ljava/util/concurrent/CompletionStage;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.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.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
ldc "sending HTTP/1.1 CONNECT"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.PlainTunnelingConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
astore 2
start local 2 2: getstatic jdk.internal.net.http.PlainTunnelingConnection.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.internal.net.http.HttpClientImpl
StackMap stack:
new jdk.internal.net.http.HttpRequestImpl
dup
ldc "CONNECT"
aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.address:Ljava/net/InetSocketAddress;
aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.proxyHeaders:Ljava/net/http/HttpHeaders;
invokespecial jdk.internal.net.http.HttpRequestImpl.<init>:(Ljava/lang/String;Ljava/net/InetSocketAddress;Ljava/net/http/HttpHeaders;)V
astore 3
start local 3 4: new jdk.internal.net.http.MultiExchange
dup
aconst_null
aload 3
5: aload 2
invokestatic java.net.http.HttpResponse$BodyHandlers.discarding:()Ljava/net/http/HttpResponse$BodyHandler;
aconst_null
aconst_null
6: invokespecial jdk.internal.net.http.MultiExchange.<init>:(Ljava/net/http/HttpRequest;Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/HttpClientImpl;Ljava/net/http/HttpResponse$BodyHandler;Ljava/net/http/HttpResponse$PushPromiseHandler;Ljava/security/AccessControlContext;)V
astore 4
start local 4 7: aload 4
invokevirtual jdk.internal.net.http.MultiExchange.getExchange:()Ljdk/internal/net/http/Exchange;
astore 5
start local 5 8: aload 5
9: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.Exchange.responseAsyncImpl:(Ljdk/internal/net/http/HttpConnection;)Ljava/util/concurrent/CompletableFuture;
10: aload 0
aload 5
invokedynamic apply(Ljdk/internal/net/http/PlainTunnelingConnection;Ljdk/internal/net/http/Exchange;)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/PlainTunnelingConnection.lambda$2(Ljdk/internal/net/http/Exchange;Ljdk/internal/net/http/Response;)Ljava/util/concurrent/CompletionStage; (7)
(Ljdk/internal/net/http/Response;)Ljava/util/concurrent/CompletionStage;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
11: aload 0
invokedynamic apply(Ljdk/internal/net/http/PlainTunnelingConnection;)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/PlainTunnelingConnection.lambda$4(Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; (7)
(Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.handle:(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
12: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
13: areturn
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 14 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 14 1 v Ljava/lang/Void;
2 14 2 client Ljdk/internal/net/http/HttpClientImpl;
4 14 3 req Ljdk/internal/net/http/HttpRequestImpl;
7 14 4 mulEx Ljdk/internal/net/http/MultiExchange<Ljava/lang/Void;>;
8 14 5 connectExchange Ljdk/internal/net/http/Exchange<Ljava/lang/Void;>;
private java.util.concurrent.CompletionStage lambda$2(jdk.internal.net.http.Exchange, jdk.internal.net.http.Response);
descriptor: (Ljdk/internal/net/http/Exchange;Ljdk/internal/net/http/Response;)Ljava/util/concurrent/CompletionStage;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 2 0: new jdk.internal.net.http.common.MinimalFuture
dup
invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
astore 3
start local 3 1: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
ldc "got response: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual jdk.internal.net.http.Response.statusCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 2
invokevirtual jdk.internal.net.http.Response.statusCode:()I
sipush 407
if_icmpne 6
3: aload 1
invokevirtual jdk.internal.net.http.Exchange.ignoreBody:()Ljava/util/concurrent/CompletableFuture;
aload 0
aload 2
aload 3
invokedynamic apply(Ljdk/internal/net/http/PlainTunnelingConnection;Ljdk/internal/net/http/Response;Ljava/util/concurrent/CompletableFuture;)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/PlainTunnelingConnection.lambda$3(Ljdk/internal/net/http/Response;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; (7)
(Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.handle:(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
4: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
5: areturn
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.internal.net.http.Response.statusCode:()I
sipush 200
if_icmpeq 12
7: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.close:()V
8: aload 3
new java.io.IOException
dup
9: new java.lang.StringBuilder
dup
ldc "Tunnel failed, got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual jdk.internal.net.http.Response.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
10: invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
11: goto 16
12: StackMap locals:
StackMap stack:
aload 1
getfield jdk.internal.net.http.Exchange.exchImpl:Ljdk/internal/net/http/ExchangeImpl;
checkcast jdk.internal.net.http.Http1Exchange
invokevirtual jdk.internal.net.http.Http1Exchange.drainLeftOverBytes:()Ljava/nio/ByteBuffer;
astore 4
start local 4 13: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 5
start local 5 14: getstatic jdk.internal.net.http.PlainTunnelingConnection.$assertionsDisabled:Z
ifne 15
iload 5
ifeq 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected remaining: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 3
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 16: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 17 2 resp Ljdk/internal/net/http/Response;
1 17 3 cf Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
13 16 4 b Ljava/nio/ByteBuffer;
14 16 5 remaining I
private java.util.concurrent.CompletableFuture lambda$4(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 1
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
3: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.debug:Ljdk/internal/net/http/common/Logger;
ldc "tunnel failed with \"%s\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
astore 3
start local 3 5: aload 3
instanceof java.util.concurrent.CompletionException
ifeq 7
6: aload 3
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 3
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
instanceof java.net.http.HttpTimeoutException
ifeq 11
8: ldc "proxy tunneling CONNECT request timed out"
astore 4
start local 4 9: new java.net.http.HttpTimeoutException
dup
aload 4
invokespecial java.net.http.HttpTimeoutException.<init>:(Ljava/lang/String;)V
astore 3
10: aload 3
aload 2
invokevirtual java.lang.Throwable.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 12 1 result Ljava/lang/Void;
0 12 2 ex Ljava/lang/Throwable;
5 12 3 t Ljava/lang/Throwable;
9 11 4 msg Ljava/lang/String;
private java.util.concurrent.CompletableFuture lambda$3(jdk.internal.net.http.Response, java.util.concurrent.CompletableFuture, java.lang.Void, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/Response;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 3 start local 4 0: aload 0
getfield jdk.internal.net.http.PlainTunnelingConnection.delegate:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.close:()V
1: new jdk.internal.net.http.ProxyAuthenticationRequired
dup
aload 1
invokespecial jdk.internal.net.http.ProxyAuthenticationRequired.<init>:(Ljdk/internal/net/http/Response;)V
2: astore 5
start local 5 3: aload 2
aload 5
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
4: aload 2
areturn
end local 5 end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/PlainTunnelingConnection;
0 5 3 r Ljava/lang/Void;
0 5 4 t Ljava/lang/Throwable;
3 5 5 authenticationRequired Ljdk/internal/net/http/ProxyAuthenticationRequired;
}
SourceFile: "PlainTunnelingConnection.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract BodyHandler = java.net.http.HttpResponse$BodyHandler of java.net.http.HttpResponse
public BodyHandlers = java.net.http.HttpResponse$BodyHandlers of java.net.http.HttpResponse
public abstract PushPromiseHandler = java.net.http.HttpResponse$PushPromiseHandler of java.net.http.HttpResponse
CacheKey = jdk.internal.net.http.ConnectionPool$CacheKey of jdk.internal.net.http.ConnectionPool
abstract HttpPublisher = jdk.internal.net.http.HttpConnection$HttpPublisher of jdk.internal.net.http.HttpConnection