class jdk.incubator.http.HttpClientImpl extends jdk.incubator.http.HttpClient
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.HttpClientImpl
super_class: jdk.incubator.http.HttpClient
{
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean DEBUGELAPSED;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean DEBUGTIMEOUT;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
final java.lang.System$Logger debug;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
final java.lang.System$Logger debugelapsed;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
final java.lang.System$Logger debugtimeout;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
static final java.util.concurrent.atomic.AtomicLong CLIENT_IDS;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.net.CookieHandler cookieHandler;
descriptor: Ljava/net/CookieHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.HttpClient$Redirect followRedirects;
descriptor: Ljdk/incubator/http/HttpClient$Redirect;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Optional<java.net.ProxySelector> userProxySelector;
descriptor: Ljava/util/Optional;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Optional<Ljava/net/ProxySelector;>;
private final java.net.ProxySelector proxySelector;
descriptor: Ljava/net/ProxySelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.Authenticator authenticator;
descriptor: Ljava/net/Authenticator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.HttpClient$Version version;
descriptor: Ljdk/incubator/http/HttpClient$Version;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.ConnectionPool connections;
descriptor: Ljdk/incubator/http/ConnectionPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isDefaultExecutor;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLContext sslContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLParameters sslParams;
descriptor: Ljavax/net/ssl/SSLParameters;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.HttpClientImpl$SelectorManager selmgr;
descriptor: Ljdk/incubator/http/HttpClientImpl$SelectorManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.FilterFactory filters;
descriptor: Ljdk/incubator/http/FilterFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.Http2ClientImpl client2;
descriptor: Ljdk/incubator/http/Http2ClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long id;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String dbgTag;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ref.WeakReference<jdk.incubator.http.HttpClientFacade> facadeRef;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljdk/incubator/http/HttpClientFacade;>;
private final java.util.concurrent.atomic.AtomicLong pendingOperationCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingWebSocketCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong pendingHttpRequestCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.TreeSet<jdk.incubator.http.TimeoutEvent> timeouts;
descriptor: Ljava/util/TreeSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/TreeSet<Ljdk/incubator/http/TimeoutEvent;>;
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=2, locals=0, args_size=0
0: ldc Ljdk/incubator/http/HttpClientImpl;
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.incubator.http.HttpClientImpl.$assertionsDisabled:Z
3: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.HttpClientImpl.DEBUG:Z
4: getstatic jdk.incubator.http.internal.common.Utils.TESTING:Z
ifne 5
getstatic jdk.incubator.http.HttpClientImpl.DEBUG:Z
ifne 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: putstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
7: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putstatic jdk.incubator.http.HttpClientImpl.CLIENT_IDS:Ljava/util/concurrent/atomic/AtomicLong;
return
LocalVariableTable:
Start End Slot Name Signature
static jdk.incubator.http.HttpClientFacade create(jdk.incubator.http.HttpClientBuilderImpl);
descriptor: (Ljdk/incubator/http/HttpClientBuilderImpl;)Ljdk/incubator/http/HttpClientFacade;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new jdk.incubator.http.HttpClientImpl$SingleFacadeFactory
dup
invokespecial jdk.incubator.http.HttpClientImpl$SingleFacadeFactory.<init>:()V
astore 1
start local 1 1: new jdk.incubator.http.HttpClientImpl
dup
aload 0
aload 1
invokespecial jdk.incubator.http.HttpClientImpl.<init>:(Ljdk/incubator/http/HttpClientBuilderImpl;Ljdk/incubator/http/HttpClientImpl$SingleFacadeFactory;)V
astore 2
start local 2 2: aload 2
invokevirtual jdk.incubator.http.HttpClientImpl.start:()V
3: getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 4
aload 1
getfield jdk.incubator.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/incubator/http/HttpClientFacade;
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.incubator.http.HttpClientImpl$SingleFacadeFactory jdk.incubator.http.HttpClientImpl
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 5
aload 2
getfield jdk.incubator.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
getfield jdk.incubator.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/incubator/http/HttpClientFacade;
if_acmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
getfield jdk.incubator.http.HttpClientImpl$SingleFacadeFactory.facade:Ljdk/incubator/http/HttpClientFacade;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 builder Ljdk/incubator/http/HttpClientBuilderImpl;
1 6 1 facadeFactory Ljdk/incubator/http/HttpClientImpl$SingleFacadeFactory;
2 6 2 impl Ljdk/incubator/http/HttpClientImpl;
MethodParameters:
Name Flags
builder
private void <init>(jdk.incubator.http.HttpClientBuilderImpl, jdk.incubator.http.HttpClientImpl$SingleFacadeFactory);
descriptor: (Ljdk/incubator/http/HttpClientBuilderImpl;Ljdk/incubator/http/HttpClientImpl$SingleFacadeFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.incubator.http.HttpClient.<init>:()V
1: aload 0
aload 0
invokedynamic get(Ljdk/incubator/http/HttpClientImpl;)Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpClientImpl.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.incubator.http.HttpClientImpl.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.HttpClientImpl.debug:Ljava/lang/System$Logger;
2: aload 0
aload 0
invokedynamic get(Ljdk/incubator/http/HttpClientImpl;)Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpClientImpl.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.HttpClientImpl.debugelapsed:Ljava/lang/System$Logger;
3: aload 0
aload 0
invokedynamic get(Ljdk/incubator/http/HttpClientImpl;)Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpClientImpl.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
iconst_0
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.HttpClientImpl.debugtimeout:Ljava/lang/System$Logger;
4: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
5: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.incubator.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
6: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield jdk.incubator.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
7: aload 0
getstatic jdk.incubator.http.HttpClientImpl.CLIENT_IDS:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
putfield jdk.incubator.http.HttpClientImpl.id:J
8: aload 0
new java.lang.StringBuilder
dup
ldc "HttpClientImpl("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.HttpClientImpl.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.incubator.http.HttpClientImpl.dbgTag:Ljava/lang/String;
9: aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.sslContext:Ljavax/net/ssl/SSLContext;
ifnonnull 14
10: aload 0
invokestatic javax.net.ssl.SSLContext.getDefault:()Ljavax/net/ssl/SSLContext;
putfield jdk.incubator.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
11: goto 15
StackMap locals: jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpClientBuilderImpl jdk.incubator.http.HttpClientImpl$SingleFacadeFactory
StackMap stack: java.security.NoSuchAlgorithmException
12: astore 3
start local 3 13: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.sslContext:Ljavax/net/ssl/SSLContext;
putfield jdk.incubator.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
15: StackMap locals:
StackMap stack:
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.executor:Ljava/util/concurrent/Executor;
astore 3
start local 3 16: aload 3
ifnonnull 20
17: new jdk.incubator.http.HttpClientImpl$DefaultThreadFactory
dup
aload 0
getfield jdk.incubator.http.HttpClientImpl.id:J
invokespecial jdk.incubator.http.HttpClientImpl$DefaultThreadFactory.<init>:(J)V
invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
astore 3
18: aload 0
iconst_1
putfield jdk.incubator.http.HttpClientImpl.isDefaultExecutor:Z
19: goto 22
20: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.executor:Ljava/util/concurrent/Executor;
astore 3
21: aload 0
iconst_0
putfield jdk.incubator.http.HttpClientImpl.isDefaultExecutor:Z
22: StackMap locals:
StackMap stack:
aload 0
new java.lang.ref.WeakReference
dup
aload 2
aload 0
invokevirtual jdk.incubator.http.HttpClientImpl$SingleFacadeFactory.createFacade:(Ljdk/incubator/http/HttpClientImpl;)Ljdk/incubator/http/HttpClientFacade;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield jdk.incubator.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
23: aload 0
new jdk.incubator.http.Http2ClientImpl
dup
aload 0
invokespecial jdk.incubator.http.Http2ClientImpl.<init>:(Ljdk/incubator/http/HttpClientImpl;)V
putfield jdk.incubator.http.HttpClientImpl.client2:Ljdk/incubator/http/Http2ClientImpl;
24: aload 0
aload 3
putfield jdk.incubator.http.HttpClientImpl.executor:Ljava/util/concurrent/Executor;
25: aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.cookieHandler:Ljava/net/CookieHandler;
putfield jdk.incubator.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
26: aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.followRedirects:Ljdk/incubator/http/HttpClient$Redirect;
ifnonnull 28
27: getstatic jdk.incubator.http.HttpClient$Redirect.NEVER:Ljdk/incubator/http/HttpClient$Redirect;
goto 29
StackMap locals:
StackMap stack: jdk.incubator.http.HttpClientImpl
28: aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.followRedirects:Ljdk/incubator/http/HttpClient$Redirect;
29: StackMap locals: jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpClientBuilderImpl jdk.incubator.http.HttpClientImpl$SingleFacadeFactory java.util.concurrent.Executor
StackMap stack: jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpClient$Redirect
putfield jdk.incubator.http.HttpClientImpl.followRedirects:Ljdk/incubator/http/HttpClient$Redirect;
30: aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.proxy:Ljava/net/ProxySelector;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
putfield jdk.incubator.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
31: aload 0
aload 0
getfield jdk.incubator.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
32: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpClientImpl.getDefaultProxySelector()Ljava/net/ProxySelector; (6)
()Ljava/net/ProxySelector;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.net.ProxySelector
33: putfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
34: aload 0
getfield jdk.incubator.http.HttpClientImpl.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "proxySelector is %s (user-supplied=%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
35: aload 0
getfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
36: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
37: aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.authenticator:Ljava/net/Authenticator;
putfield jdk.incubator.http.HttpClientImpl.authenticator:Ljava/net/Authenticator;
38: aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.version:Ljdk/incubator/http/HttpClient$Version;
ifnonnull 41
39: aload 0
getstatic jdk.incubator.http.HttpClient$Version.HTTP_2:Ljdk/incubator/http/HttpClient$Version;
putfield jdk.incubator.http.HttpClientImpl.version:Ljdk/incubator/http/HttpClient$Version;
40: goto 42
41: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.version:Ljdk/incubator/http/HttpClient$Version;
putfield jdk.incubator.http.HttpClientImpl.version:Ljdk/incubator/http/HttpClient$Version;
42: StackMap locals:
StackMap stack:
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.sslParams:Ljavax/net/ssl/SSLParameters;
ifnonnull 45
43: aload 0
aload 0
getfield jdk.incubator.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
invokestatic jdk.incubator.http.HttpClientImpl.getDefaultParams:(Ljavax/net/ssl/SSLContext;)Ljavax/net/ssl/SSLParameters;
putfield jdk.incubator.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
44: goto 46
45: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.incubator.http.HttpClientBuilderImpl.sslParams:Ljavax/net/ssl/SSLParameters;
putfield jdk.incubator.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
46: StackMap locals:
StackMap stack:
aload 0
new jdk.incubator.http.ConnectionPool
dup
aload 0
getfield jdk.incubator.http.HttpClientImpl.id:J
invokespecial jdk.incubator.http.ConnectionPool.<init>:(J)V
putfield jdk.incubator.http.HttpClientImpl.connections:Ljdk/incubator/http/ConnectionPool;
47: aload 0
getfield jdk.incubator.http.HttpClientImpl.connections:Ljdk/incubator/http/ConnectionPool;
invokevirtual jdk.incubator.http.ConnectionPool.start:()V
48: aload 0
new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
putfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
49: aload 0
new jdk.incubator.http.HttpClientImpl$SelectorManager
dup
aload 0
invokespecial jdk.incubator.http.HttpClientImpl$SelectorManager.<init>:(Ljdk/incubator/http/HttpClientImpl;)V
putfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
50: goto 53
StackMap locals:
StackMap stack: java.io.IOException
51: astore 4
start local 4 52: new java.lang.InternalError
dup
aload 4
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 53: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
iconst_1
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.setDaemon:(Z)V
54: aload 0
new jdk.incubator.http.FilterFactory
dup
invokespecial jdk.incubator.http.FilterFactory.<init>:()V
putfield jdk.incubator.http.HttpClientImpl.filters:Ljdk/incubator/http/FilterFactory;
55: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.initFilters:()V
56: getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 57
aload 0
getfield jdk.incubator.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnonnull 57
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
57: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Ljdk/incubator/http/HttpClientImpl;
0 58 1 builder Ljdk/incubator/http/HttpClientBuilderImpl;
0 58 2 facadeFactory Ljdk/incubator/http/HttpClientImpl$SingleFacadeFactory;
13 14 3 ex Ljava/security/NoSuchAlgorithmException;
16 58 3 ex Ljava/util/concurrent/Executor;
52 53 4 e Ljava/io/IOException;
Exception table:
from to target type
10 11 12 Class java.security.NoSuchAlgorithmException
49 50 51 Class java.io.IOException
MethodParameters:
Name Flags
builder
facadeFactory
private void start();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
private void stop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.connections:Ljdk/incubator/http/ConnectionPool;
invokevirtual jdk.incubator.http.ConnectionPool.stop:()V
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.client2:Ljdk/incubator/http/Http2ClientImpl;
invokevirtual jdk.incubator.http.Http2ClientImpl.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
private static javax.net.ssl.SSLParameters getDefaultParams(javax.net.ssl.SSLContext);
descriptor: (Ljavax/net/ssl/SSLContext;)Ljavax/net/ssl/SSLParameters;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.net.ssl.SSLContext.getSupportedSSLParameters:()Ljavax/net/ssl/SSLParameters;
astore 1
start local 1 1: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "TLSv1.2"
aastore
invokevirtual javax.net.ssl.SSLParameters.setProtocols:([Ljava/lang/String;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ctx Ljavax/net/ssl/SSLContext;
1 3 1 params Ljavax/net/ssl/SSLParameters;
MethodParameters:
Name Flags
ctx
private static java.net.ProxySelector getDefaultProxySelector();
descriptor: ()Ljava/net/ProxySelector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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;
java/net/ProxySelector.getDefault()Ljava/net/ProxySelector; (6)
()Ljava/net/ProxySelector;
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.ProxySelector
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 action Ljava/security/PrivilegedAction<Ljava/net/ProxySelector;>;
final jdk.incubator.http.HttpClientFacade facade();
descriptor: ()Ljdk/incubator/http/HttpClientFacade;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.facadeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast jdk.incubator.http.HttpClientFacade
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
final long reference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
final long unreference();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 1
start local 1 1: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 3
start local 3 2: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 3: lload 1
lconst_0
lcmp
ifne 5
aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.facade:()Ljdk/incubator/http/HttpClientFacade;
ifnonnull 5
4: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
5: StackMap locals: long long long
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 6
lload 3
lconst_0
lcmp
ifge 6
new java.lang.AssertionError
dup
ldc "count of HTTP operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 7
lload 5
lconst_0
lcmp
ifge 7
new java.lang.AssertionError
dup
ldc "count of WS operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 8
lload 1
lconst_0
lcmp
ifge 8
new java.lang.AssertionError
dup
ldc "count of pending operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/HttpClientImpl;
1 9 1 count J
2 9 3 httpCount J
3 9 5 webSocketCount J
final long webSocketOpen();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
final long webSocketClose();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 1
start local 1 1: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingWebSocketCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lstore 3
start local 3 2: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingHttpRequestCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 3: lload 1
lconst_0
lcmp
ifne 5
aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.facade:()Ljdk/incubator/http/HttpClientFacade;
ifnonnull 5
4: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
5: StackMap locals: long long long
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 6
lload 5
lconst_0
lcmp
ifge 6
new java.lang.AssertionError
dup
ldc "count of HTTP operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 7
lload 3
lconst_0
lcmp
ifge 7
new java.lang.AssertionError
dup
ldc "count of WS operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 8
lload 1
lconst_0
lcmp
ifge 8
new java.lang.AssertionError
dup
ldc "count of pending operations < 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/HttpClientImpl;
1 9 1 count J
2 9 3 webSocketCount J
3 9 5 httpCount J
final long referenceCount();
descriptor: ()J
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.pendingOperationCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
final boolean isReferenced();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.facade:()Ljdk/incubator/http/HttpClientFacade;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.referenceCount:()J
lconst_0
lcmp
ifgt 2
iconst_0
ireturn
StackMap locals: jdk.incubator.http.HttpClient
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
1 3 1 facade Ljdk/incubator/http/HttpClient;
void registerEvent(jdk.incubator.http.AsyncEvent);
descriptor: (Ljdk/incubator/http/AsyncEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.register:(Ljdk/incubator/http/AsyncEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
0 2 1 exchange Ljdk/incubator/http/AsyncEvent;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
exchange
void cancelRegistration(java.nio.channels.SocketChannel);
descriptor: (Ljava/nio/channels/SocketChannel;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.cancel:(Ljava/nio/channels/SocketChannel;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
0 2 1 s Ljava/nio/channels/SocketChannel;
MethodParameters:
Name Flags
s
void eventUpdated(jdk.incubator.http.AsyncEvent);
descriptor: (Ljdk/incubator/http/AsyncEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.HttpClientImpl.$assertionsDisabled:Z
ifne 1
aload 1
instanceof jdk.incubator.http.AsyncTriggerEvent
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.eventUpdated:(Ljdk/incubator/http/AsyncEvent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
0 3 1 event Ljdk/incubator/http/AsyncEvent;
Exceptions:
throws java.nio.channels.ClosedChannelException
MethodParameters:
Name Flags
event
boolean isSelectorThread();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
jdk.incubator.http.Http2ClientImpl client2();
descriptor: ()Ljdk/incubator/http/Http2ClientImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.client2:Ljdk/incubator/http/Http2ClientImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
private void debugCompleted(java.lang.String, long, jdk.incubator.http.HttpRequest);
descriptor: (Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.debugelapsed:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
invokeinterface java.lang.System$Logger.isLoggable:(Ljava/lang/System$Logger$Level;)Z
ifeq 2
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.debugelapsed:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 1
lload 2
aload 4
invokedynamic get(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)Ljava/util/function/Supplier;
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;
jdk/incubator/http/HttpClientImpl.lambda$5(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
2: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
0 3 1 tag Ljava/lang/String;
0 3 2 startNanos J
0 3 4 req Ljdk/incubator/http/HttpRequest;
MethodParameters:
Name Flags
tag
startNanos
req
public <T> jdk.incubator.http.HttpResponse<T> send(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljdk/incubator/http/HttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.http.HttpClientImpl.sendAsync:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.get:()Ljava/lang/Object;
checkcast jdk.incubator.http.HttpResponse
1: areturn
2: StackMap locals:
StackMap stack: java.util.concurrent.ExecutionException
astore 3
start local 3 3: aload 3
invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
astore 4
start local 4 4: aload 4
instanceof java.lang.Error
ifeq 6
5: aload 4
checkcast java.lang.Error
athrow
6: StackMap locals: java.util.concurrent.ExecutionException java.lang.Throwable
StackMap stack:
aload 4
instanceof java.lang.RuntimeException
ifeq 8
7: aload 4
checkcast java.lang.RuntimeException
athrow
8: StackMap locals:
StackMap stack:
aload 4
instanceof java.io.IOException
ifeq 10
9: aload 4
invokestatic jdk.incubator.http.internal.common.Utils.getIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
athrow
10: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "Unexpected exception"
aload 4
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/http/HttpClientImpl;
0 11 1 req Ljdk/incubator/http/HttpRequest;
0 11 2 responseHandler Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
3 11 3 e Ljava/util/concurrent/ExecutionException;
4 11 4 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.util.concurrent.ExecutionException
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;)Ljdk/incubator/http/HttpResponse<TT;>;
MethodParameters:
Name Flags
req
responseHandler
public <T> java.util.concurrent.CompletableFuture<jdk.incubator.http.HttpResponse<T>> sendAsync(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$BodyHandler<T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 3
2: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 3
3: StackMap locals: java.security.AccessControlContext
StackMap stack:
new jdk.incubator.http.HttpRequestImpl
dup
aload 1
aload 0
getfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
aload 3
invokespecial jdk.incubator.http.HttpRequestImpl.<init>:(Ljdk/incubator/http/HttpRequest;Ljava/net/ProxySelector;Ljava/security/AccessControlContext;)V
astore 4
start local 4 4: aload 4
invokevirtual jdk.incubator.http.HttpRequestImpl.method:()Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "Unsupported method CONNECT"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: jdk.incubator.http.HttpRequestImpl
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 7
invokestatic java.lang.System.nanoTime:()J
goto 8
StackMap locals:
StackMap stack:
7: lconst_0
StackMap locals:
StackMap stack: long
8: lstore 5
start local 5 9: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.reference:()J
pop2
10: aload 0
getfield jdk.incubator.http.HttpClientImpl.debugelapsed:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "ClientImpl (async) send %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
11: new jdk.incubator.http.MultiExchange
dup
aload 1
12: aload 4
13: aload 0
14: aload 2
15: aload 3
16: invokespecial jdk.incubator.http.MultiExchange.<init>:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$BodyHandler;Ljava/security/AccessControlContext;)V
astore 7
start local 7 17: aload 7
invokevirtual jdk.incubator.http.MultiExchange.responseAsync:()Ljava/util/concurrent/CompletableFuture;
aload 0
invokedynamic accept(Ljdk/incubator/http/HttpClientImpl;)Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$6(Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V (7)
(Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
18: astore 8
start local 8 19: getstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 23
20: aload 8
21: aload 0
lload 5
aload 1
invokedynamic accept(Ljdk/incubator/http/HttpClientImpl;JLjdk/incubator/http/HttpRequest;)Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$7(JLjdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V (7)
(Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
22: invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
astore 8
23: StackMap locals: long jdk.incubator.http.MultiExchange java.util.concurrent.CompletableFuture
StackMap stack:
aload 3
ifnull 27
24: aload 8
invokedynamic accept()Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$8(Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V (6)
(Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
25: new jdk.incubator.http.PrivilegedExecutor
dup
aload 0
getfield jdk.incubator.http.HttpClientImpl.executor:Ljava/util/concurrent/Executor;
aload 3
invokespecial jdk.incubator.http.PrivilegedExecutor.<init>:(Ljava/util/concurrent/Executor;Ljava/security/AccessControlContext;)V
26: invokevirtual java.util.concurrent.CompletableFuture.whenCompleteAsync:(Ljava/util/function/BiConsumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
27: StackMap locals:
StackMap stack:
aload 8
28: areturn
end local 8 end local 7 29: StackMap locals: jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpRequest jdk.incubator.http.HttpResponse$BodyHandler java.security.AccessControlContext jdk.incubator.http.HttpRequestImpl long
StackMap stack: java.lang.Throwable
astore 7
start local 7 30: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.unreference:()J
pop2
31: aload 0
ldc "ClientImpl (async)"
lload 5
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)V
32: aload 7
athrow
end local 7 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 33 0 this Ljdk/incubator/http/HttpClientImpl;
0 33 1 userRequest Ljdk/incubator/http/HttpRequest;
0 33 2 responseHandler Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
1 33 3 acc Ljava/security/AccessControlContext;
4 33 4 requestImpl Ljdk/incubator/http/HttpRequestImpl;
9 33 5 start J
17 29 7 mex Ljdk/incubator/http/MultiExchange<Ljava/lang/Void;TT;>;
19 29 8 res Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
30 33 7 t Ljava/lang/Throwable;
Exception table:
from to target type
10 28 29 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
userRequest
responseHandler
public <U, T> java.util.concurrent.CompletableFuture<U> sendAsync(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse$MultiSubscriber<U, T>);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$MultiSubscriber;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 3
2: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 3
3: StackMap locals: java.security.AccessControlContext
StackMap stack:
new jdk.incubator.http.HttpRequestImpl
dup
aload 1
aload 0
getfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
aload 3
invokespecial jdk.incubator.http.HttpRequestImpl.<init>:(Ljdk/incubator/http/HttpRequest;Ljava/net/ProxySelector;Ljava/security/AccessControlContext;)V
astore 4
start local 4 4: aload 4
invokevirtual jdk.incubator.http.HttpRequestImpl.method:()Ljava/lang/String;
ldc "CONNECT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "Unsupported method CONNECT"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: jdk.incubator.http.HttpRequestImpl
StackMap stack:
getstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 7
invokestatic java.lang.System.nanoTime:()J
goto 8
StackMap locals:
StackMap stack:
7: lconst_0
StackMap locals:
StackMap stack: long
8: lstore 5
start local 5 9: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.reference:()J
pop2
10: aload 0
getfield jdk.incubator.http.HttpClientImpl.debugelapsed:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "ClientImpl (async) send multi %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
11: new jdk.incubator.http.MultiExchange
dup
aload 1
12: aload 4
13: aload 0
14: aload 2
15: aload 3
16: invokespecial jdk.incubator.http.MultiExchange.<init>:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$MultiSubscriber;Ljava/security/AccessControlContext;)V
astore 7
start local 7 17: aload 7
invokevirtual jdk.incubator.http.MultiExchange.multiResponseAsync:()Ljava/util/concurrent/CompletableFuture;
18: aload 0
invokedynamic accept(Ljdk/incubator/http/HttpClientImpl;)Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$9(Ljava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
19: astore 8
start local 8 20: getstatic jdk.incubator.http.HttpClientImpl.DEBUGELAPSED:Z
ifeq 24
21: aload 8
22: aload 0
lload 5
aload 1
invokedynamic accept(Ljdk/incubator/http/HttpClientImpl;JLjdk/incubator/http/HttpRequest;)Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$10(JLjdk/incubator/http/HttpRequest;Ljava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
23: invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
astore 8
24: StackMap locals: long jdk.incubator.http.MultiExchange java.util.concurrent.CompletableFuture
StackMap stack:
aload 3
ifnull 28
25: aload 8
invokedynamic accept()Ljava/util/function/BiConsumer;
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;)V
jdk/incubator/http/HttpClientImpl.lambda$11(Ljava/lang/Object;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
26: new jdk.incubator.http.PrivilegedExecutor
dup
aload 0
getfield jdk.incubator.http.HttpClientImpl.executor:Ljava/util/concurrent/Executor;
aload 3
invokespecial jdk.incubator.http.PrivilegedExecutor.<init>:(Ljava/util/concurrent/Executor;Ljava/security/AccessControlContext;)V
27: invokevirtual java.util.concurrent.CompletableFuture.whenCompleteAsync:(Ljava/util/function/BiConsumer;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
28: StackMap locals:
StackMap stack:
aload 8
29: areturn
end local 8 end local 7 30: StackMap locals: jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpRequest jdk.incubator.http.HttpResponse$MultiSubscriber java.security.AccessControlContext jdk.incubator.http.HttpRequestImpl long
StackMap stack: java.lang.Throwable
astore 7
start local 7 31: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.unreference:()J
pop2
32: aload 0
ldc "ClientImpl (async)"
lload 5
aload 1
invokevirtual jdk.incubator.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)V
33: aload 7
athrow
end local 7 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 34 0 this Ljdk/incubator/http/HttpClientImpl;
0 34 1 userRequest Ljdk/incubator/http/HttpRequest;
0 34 2 responseHandler Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;
1 34 3 acc Ljava/security/AccessControlContext;
4 34 4 requestImpl Ljdk/incubator/http/HttpRequestImpl;
9 34 5 start J
17 30 7 mex Ljdk/incubator/http/MultiExchange<TU;TT;>;
20 30 8 res Ljava/util/concurrent/CompletableFuture<TU;>;
31 34 7 t Ljava/lang/Throwable;
Exception table:
from to target type
10 29 30 Class java.lang.Throwable
Signature: <U:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;)Ljava/util/concurrent/CompletableFuture<TU;>;
MethodParameters:
Name Flags
userRequest
responseHandler
javax.net.ssl.SSLContext theSSLContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public javax.net.ssl.SSLContext sslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public javax.net.ssl.SSLParameters sslParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.sslParams:Ljavax/net/ssl/SSLParameters;
invokestatic jdk.incubator.http.internal.common.Utils.copySSLParameters:(Ljavax/net/ssl/SSLParameters;)Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public java.util.Optional<java.net.Authenticator> authenticator();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.authenticator:Ljava/net/Authenticator;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/Authenticator;>;
final java.util.concurrent.Executor theExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.executor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public final java.util.Optional<java.util.concurrent.Executor> executor();
descriptor: ()Ljava/util/Optional;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.isDefaultExecutor:Z
ifeq 1
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.executor:Ljava/util/concurrent/Executor;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/util/concurrent/Executor;>;
jdk.incubator.http.ConnectionPool connectionPool();
descriptor: ()Ljdk/incubator/http/ConnectionPool;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.connections:Ljdk/incubator/http/ConnectionPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public jdk.incubator.http.HttpClient$Redirect followRedirects();
descriptor: ()Ljdk/incubator/http/HttpClient$Redirect;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.followRedirects:Ljdk/incubator/http/HttpClient$Redirect;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public java.util.Optional<java.net.CookieHandler> cookieHandler();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/CookieHandler;>;
public java.util.Optional<java.net.ProxySelector> proxy();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.userProxySelector:Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
Signature: ()Ljava/util/Optional<Ljava/net/ProxySelector;>;
java.net.ProxySelector proxySelector();
descriptor: ()Ljava/net/ProxySelector;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public jdk.incubator.http.WebSocket$Builder newWebSocketBuilder();
descriptor: ()Ljdk/incubator/http/WebSocket$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.incubator.http.internal.websocket.BuilderImpl
dup
aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.facade:()Ljdk/incubator/http/HttpClientFacade;
aload 0
getfield jdk.incubator.http.HttpClientImpl.proxySelector:Ljava/net/ProxySelector;
invokespecial jdk.incubator.http.internal.websocket.BuilderImpl.<init>:(Ljdk/incubator/http/HttpClient;Ljava/net/ProxySelector;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
public jdk.incubator.http.HttpClient$Version version();
descriptor: ()Ljdk/incubator/http/HttpClient$Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.version:Ljdk/incubator/http/HttpClient$Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.dbgTag:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
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
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.incubator.http.HttpClientImpl.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
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/incubator/http/HttpClientImpl;
private void initFilters();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljdk/incubator/http/AuthenticationFilter;
invokevirtual jdk.incubator.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
1: aload 0
ldc Ljdk/incubator/http/RedirectFilter;
invokevirtual jdk.incubator.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
2: aload 0
getfield jdk.incubator.http.HttpClientImpl.cookieHandler:Ljava/net/CookieHandler;
ifnull 4
3: aload 0
ldc Ljdk/incubator/http/CookieFilter;
invokevirtual jdk.incubator.http.HttpClientImpl.addFilter:(Ljava/lang/Class;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/HttpClientImpl;
private void addFilter(java.lang.Class<? extends jdk.incubator.http.HeaderFilter>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.filters:Ljdk/incubator/http/FilterFactory;
aload 1
invokevirtual jdk.incubator.http.FilterFactory.addFilter:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
0 2 1 f Ljava/lang/Class<+Ljdk/incubator/http/HeaderFilter;>;
Signature: (Ljava/lang/Class<+Ljdk/incubator/http/HeaderFilter;>;)V
MethodParameters:
Name Flags
f
final java.util.List<jdk.incubator.http.HeaderFilter> filterChain();
descriptor: ()Ljava/util/List;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.HttpClientImpl.filters:Ljdk/incubator/http/FilterFactory;
invokevirtual jdk.incubator.http.FilterFactory.getFilterChain:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
Signature: ()Ljava/util/List<Ljdk/incubator/http/HeaderFilter;>;
synchronized void registerTimer(jdk.incubator.http.TimeoutEvent);
descriptor: (Ljdk/incubator/http/TimeoutEvent;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "Registering timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
aload 1
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.incubator.http.HttpClientImpl.selmgr:Ljdk/incubator/http/HttpClientImpl$SelectorManager;
invokevirtual jdk.incubator.http.HttpClientImpl$SelectorManager.wakeupSelector:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/HttpClientImpl;
0 4 1 event Ljdk/incubator/http/TimeoutEvent;
MethodParameters:
Name Flags
event
synchronized void cancelTimer(jdk.incubator.http.TimeoutEvent);
descriptor: (Ljdk/incubator/http/TimeoutEvent;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "Canceling timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
aload 1
invokevirtual java.util.TreeSet.remove:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/HttpClientImpl;
0 3 1 event Ljdk/incubator/http/TimeoutEvent;
MethodParameters:
Name Flags
event
private long purgeTimeoutsAndReturnNextDeadline();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aconst_null
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
dup
astore 5
monitorenter
4: aload 0
getfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.isEmpty:()Z
ifeq 6
aload 5
monitorexit
5: lconst_0
lreturn
6: StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int jdk.incubator.http.HttpClientImpl
StackMap stack:
invokestatic java.time.Instant.now:()Ljava/time/Instant;
astore 6
start local 6 7: aload 0
getfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.iterator:()Ljava/util/Iterator;
astore 7
start local 7 8: goto 17
9: StackMap locals: java.time.Instant java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.http.TimeoutEvent
astore 8
start local 8 10: aload 6
aload 8
invokevirtual jdk.incubator.http.TimeoutEvent.deadline:()Ljava/time/Instant;
getstatic java.time.temporal.ChronoUnit.MILLIS:Ljava/time/temporal/ChronoUnit;
invokevirtual java.time.Instant.until:(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J
lstore 1
11: lload 1
lconst_0
lcmp
ifgt 18
12: aload 7
invokeinterface java.util.Iterator.remove:()V
13: aload 3
ifnonnull 14
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 15
StackMap locals: jdk.incubator.http.TimeoutEvent
StackMap stack:
14: aload 3
StackMap locals:
StackMap stack: java.util.List
15: astore 3
16: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 17: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.HttpClientImpl.timeouts:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.size:()I
istore 4
end local 7 end local 6 19: aload 5
monitorexit
20: goto 23
StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int jdk.incubator.http.HttpClientImpl
StackMap stack: java.lang.Throwable
21: aload 5
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 3
ifnull 33
invokestatic jdk.incubator.http.internal.common.Log.trace:()Z
ifeq 33
24: new java.lang.StringBuilder
dup
ldc "purgeTimeoutsAndReturnNextDeadline: handling "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: aload 3
ifnonnull 26
iconst_0
goto 27
StackMap locals:
StackMap stack: java.lang.StringBuilder
26: aload 3
invokeinterface java.util.List.size:()I
StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int
StackMap stack: java.lang.StringBuilder int
27: invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " events, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: ldc "remaining "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
29: ldc ", next deadline: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
lconst_0
lcmp
ifge 30
lconst_0
goto 31
StackMap locals:
StackMap stack: java.lang.StringBuilder
30: lload 1
StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int
StackMap stack: java.lang.StringBuilder long
31: invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
32: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
33: StackMap locals:
StackMap stack:
aload 3
ifnull 47
34: aconst_null
astore 5
start local 5 35: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 44
StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int java.lang.Throwable top java.util.Iterator
StackMap stack:
36: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.http.TimeoutEvent
astore 6
start local 6 37: ldc "Firing timer {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
38: aload 6
invokevirtual jdk.incubator.http.TimeoutEvent.handle:()V
39: goto 44
StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int java.lang.Throwable jdk.incubator.http.TimeoutEvent java.util.Iterator
StackMap stack: java.lang.Throwable
40: astore 8
start local 8 41: aload 5
ifnonnull 42
aload 8
astore 5
goto 43
42: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
43: StackMap locals:
StackMap stack:
ldc "Failed to handle event {0}: {1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 8
aastore
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 8 end local 6 44: StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
45: aload 5
instanceof java.lang.Error
ifeq 46
aload 5
checkcast java.lang.Error
athrow
46: StackMap locals: jdk.incubator.http.HttpClientImpl long java.util.List int java.lang.Throwable
StackMap stack:
aload 5
instanceof java.lang.RuntimeException
ifeq 47
aload 5
checkcast java.lang.RuntimeException
athrow
end local 5 47: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifge 48
lconst_0
goto 49
StackMap locals:
StackMap stack:
48: lload 1
StackMap locals:
StackMap stack: long
49: lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljdk/incubator/http/HttpClientImpl;
1 50 1 diff J
2 50 3 toHandle Ljava/util/List<Ljdk/incubator/http/TimeoutEvent;>;
3 50 4 remaining I
7 19 6 now Ljava/time/Instant;
8 19 7 itr Ljava/util/Iterator<Ljdk/incubator/http/TimeoutEvent;>;
10 17 8 event Ljdk/incubator/http/TimeoutEvent;
35 47 5 failed Ljava/lang/Throwable;
37 44 6 event Ljdk/incubator/http/TimeoutEvent;
41 44 8 e Ljava/lang/Throwable;
Exception table:
from to target type
4 5 21 any
6 20 21 any
21 22 21 any
37 39 40 Class java.lang.Error
37 39 40 Class java.lang.RuntimeException
int getReceiveBufferSize();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "jdk.httpclient.receiveBufferSize"
ldc 2097152
1: invokestatic jdk.incubator.http.internal.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/HttpClientImpl;
private static java.lang.String lambda$5(java.lang.String, long, jdk.incubator.http.HttpRequest);
descriptor: (Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " elapsed "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: invokestatic java.lang.System.nanoTime:()J
lload 1
lsub
ldc 1000000
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
2: ldc " millis for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual jdk.incubator.http.HttpRequest.method:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual jdk.incubator.http.HttpRequest.uri:()Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$6(jdk.incubator.http.HttpResponse, java.lang.Throwable);
descriptor: (Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.unreference:()J
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
0 1 1 b Ljdk/incubator/http/HttpResponse<TT;>;
0 1 2 t Ljava/lang/Throwable;
private void lambda$7(long, jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpResponse, java.lang.Throwable);
descriptor: (JLjdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 4 start local 5 0: aload 0
ldc "ClientImpl (async)"
lload 1
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)V
return
end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
0 1 4 b Ljdk/incubator/http/HttpResponse<TT;>;
0 1 5 t Ljava/lang/Throwable;
private static void lambda$8(jdk.incubator.http.HttpResponse, java.lang.Throwable);
descriptor: (Ljdk/incubator/http/HttpResponse;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Ljdk/incubator/http/HttpResponse<TT;>;
0 1 1 t Ljava/lang/Throwable;
private void lambda$9(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.incubator.http.HttpClientImpl.unreference:()J
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
0 1 1 b TU;
0 1 2 t Ljava/lang/Throwable;
private void lambda$10(long, jdk.incubator.http.HttpRequest, java.lang.Object, java.lang.Throwable);
descriptor: (JLjdk/incubator/http/HttpRequest;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 4 start local 5 0: aload 0
ldc "ClientImpl (async)"
lload 1
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.debugCompleted:(Ljava/lang/String;JLjdk/incubator/http/HttpRequest;)V
return
end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/HttpClientImpl;
0 1 4 b TU;
0 1 5 t Ljava/lang/Throwable;
private static void lambda$11(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r TU;
0 1 1 t Ljava/lang/Throwable;
}
SourceFile: "HttpClientImpl.java"
NestMembers:
jdk.incubator.http.HttpClientImpl$DefaultThreadFactory jdk.incubator.http.HttpClientImpl$SelectorAttachment jdk.incubator.http.HttpClientImpl$SelectorManager jdk.incubator.http.HttpClientImpl$SingleFacadeFactory
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public final Level = java.lang.System$Logger$Level of java.lang.System$Logger
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Redirect = jdk.incubator.http.HttpClient$Redirect of jdk.incubator.http.HttpClient
public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
private final DefaultThreadFactory = jdk.incubator.http.HttpClientImpl$DefaultThreadFactory of jdk.incubator.http.HttpClientImpl
private SelectorAttachment = jdk.incubator.http.HttpClientImpl$SelectorAttachment of jdk.incubator.http.HttpClientImpl
private final SelectorManager = jdk.incubator.http.HttpClientImpl$SelectorManager of jdk.incubator.http.HttpClientImpl
private final SingleFacadeFactory = jdk.incubator.http.HttpClientImpl$SingleFacadeFactory of jdk.incubator.http.HttpClientImpl
public abstract BodyHandler = jdk.incubator.http.HttpResponse$BodyHandler of jdk.incubator.http.HttpResponse
public abstract MultiSubscriber = jdk.incubator.http.HttpResponse$MultiSubscriber of jdk.incubator.http.HttpResponse
public abstract Builder = jdk.incubator.http.WebSocket$Builder of jdk.incubator.http.WebSocket