final class jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent extends jdk.internal.net.http.TimeoutEvent
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent
super_class: jdk.internal.net.http.TimeoutEvent
{
private final java.util.concurrent.CompletableFuture<java.lang.Void> cf;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
private final jdk.internal.net.http.Exchange<?> exchange;
descriptor: Ljdk/internal/net/http/Exchange;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/Exchange<*>;
final jdk.internal.net.http.PlainHttpConnection this$0;
descriptor: Ljdk/internal/net/http/PlainHttpConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.time.Duration, jdk.internal.net.http.Exchange<?>, java.util.concurrent.CompletableFuture<java.lang.Void>);
descriptor: (Ljdk/internal/net/http/PlainHttpConnection;Ljava/time/Duration;Ljdk/internal/net/http/Exchange;Ljava/util/concurrent/CompletableFuture;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.this$0:Ljdk/internal/net/http/PlainHttpConnection;
1: aload 0
aload 2
invokespecial jdk.internal.net.http.TimeoutEvent.<init>:(Ljava/time/Duration;)V
2: aload 0
aload 3
putfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.exchange:Ljdk/internal/net/http/Exchange;
3: aload 0
aload 4
putfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.cf:Ljava/util/concurrent/CompletableFuture;
4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/PlainHttpConnection$ConnectTimerEvent;
0 5 2 duration Ljava/time/Duration;
0 5 3 exchange Ljdk/internal/net/http/Exchange<*>;
0 5 4 cf Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
Signature: (Ljava/time/Duration;Ljdk/internal/net/http/Exchange<*>;Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
this$0 final
duration
exchange
cf
public void handle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.this$0:Ljdk/internal/net/http/PlainHttpConnection;
getfield jdk.internal.net.http.PlainHttpConnection.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
1: aload 0
getfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.this$0:Ljdk/internal/net/http/PlainHttpConnection;
getfield jdk.internal.net.http.PlainHttpConnection.debug:Ljdk/internal/net/http/common/Logger;
ldc "HTTP connect timed out"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
new java.net.ConnectException
dup
ldc "HTTP connect timed out"
invokespecial java.net.ConnectException.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 0
getfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.exchange:Ljdk/internal/net/http/Exchange;
getfield jdk.internal.net.http.Exchange.multi:Ljdk/internal/net/http/MultiExchange;
aload 1
invokevirtual jdk.internal.net.http.MultiExchange.cancel:(Ljava/io/IOException;)V
4: aload 0
getfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.this$0:Ljdk/internal/net/http/PlainHttpConnection;
invokevirtual jdk.internal.net.http.PlainHttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.theExecutor:()Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
aload 0
aload 1
invokedynamic run(Ljdk/internal/net/http/PlainHttpConnection$ConnectTimerEvent;Ljava/net/ConnectException;)Ljava/lang/Runnable;
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:
()V
jdk/internal/net/http/PlainHttpConnection$ConnectTimerEvent.lambda$0(Ljava/net/ConnectException;)V (7)
()V
invokevirtual jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute:(Ljava/lang/Runnable;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/PlainHttpConnection$ConnectTimerEvent;
3 6 1 ce Ljava/net/ConnectException;
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 "ConnectTimerEvent, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokespecial jdk.internal.net.http.TimeoutEvent.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/PlainHttpConnection$ConnectTimerEvent;
private void lambda$0(java.net.ConnectException);
descriptor: (Ljava/net/ConnectException;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
getfield jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent.cf:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/PlainHttpConnection$ConnectTimerEvent;
}
SourceFile: "PlainHttpConnection.java"
NestHost: jdk.internal.net.http.PlainHttpConnection
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final DelegatingExecutor = jdk.internal.net.http.HttpClientImpl$DelegatingExecutor of jdk.internal.net.http.HttpClientImpl
final ConnectTimerEvent = jdk.internal.net.http.PlainHttpConnection$ConnectTimerEvent of jdk.internal.net.http.PlainHttpConnection