class jdk.internal.net.http.MultiExchange<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.MultiExchange
super_class: java.lang.Object
{
static final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.net.http.HttpRequest userRequest;
descriptor: Ljava/net/http/HttpRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.HttpRequestImpl request;
descriptor: Ljdk/internal/net/http/HttpRequestImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0010) ACC_FINAL
final jdk.internal.net.http.HttpClientImpl client;
descriptor: Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0010) ACC_FINAL
final java.net.http.HttpResponse$BodyHandler<T> responseHandler;
descriptor: Ljava/net/http/HttpResponse$BodyHandler;
flags: (0x0010) ACC_FINAL
Signature: Ljava/net/http/HttpResponse$BodyHandler<TT;>;
final jdk.internal.net.http.HttpClientImpl$DelegatingExecutor executor;
descriptor: Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicInteger attempts;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
jdk.internal.net.http.HttpRequestImpl currentreq;
descriptor: Ljdk/internal/net/http/HttpRequestImpl;
flags: (0x0000)
jdk.internal.net.http.HttpRequestImpl previousreq;
descriptor: Ljdk/internal/net/http/HttpRequestImpl;
flags: (0x0000)
jdk.internal.net.http.Exchange<T> exchange;
descriptor: Ljdk/internal/net/http/Exchange;
flags: (0x0000)
Signature: Ljdk/internal/net/http/Exchange<TT;>;
jdk.internal.net.http.Exchange<T> previous;
descriptor: Ljdk/internal/net/http/Exchange;
flags: (0x0000)
Signature: Ljdk/internal/net/http/Exchange<TT;>;
volatile java.lang.Throwable retryCause;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
volatile boolean expiredOnce;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile java.net.http.HttpResponse<T> response;
descriptor: Ljava/net/http/HttpResponse;
flags: (0x0040) ACC_VOLATILE
Signature: Ljava/net/http/HttpResponse<TT;>;
static final int DEFAULT_MAX_ATTEMPTS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
static final int max_attempts;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.util.LinkedList<jdk.internal.net.http.HeaderFilter> filters;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljdk/internal/net/http/HeaderFilter;>;
jdk.internal.net.http.ResponseTimerEvent responseTimerEvent;
descriptor: Ljdk/internal/net/http/ResponseTimerEvent;
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.internal.net.http.PushGroup<T> pushGroup;
descriptor: Ljdk/internal/net/http/PushGroup;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/internal/net/http/PushGroup<TT;>;
volatile jdk.internal.net.http.AuthenticationFilter$AuthInfo serverauth;
descriptor: Ljdk/internal/net/http/AuthenticationFilter$AuthInfo;
flags: (0x0040) ACC_VOLATILE
volatile jdk.internal.net.http.AuthenticationFilter$AuthInfo proxyauth;
descriptor: Ljdk/internal/net/http/AuthenticationFilter$AuthInfo;
flags: (0x0040) ACC_VOLATILE
volatile int numberOfRedirects;
descriptor: I
flags: (0x0040) ACC_VOLATILE
private static final boolean RETRY_ALWAYS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean RETRY_CONNECT;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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/internal/net/http/MultiExchange;
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.MultiExchange.$assertionsDisabled:Z
3: ldc "MultiExchange"
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljava/lang/String;)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;
java/lang/String.toString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
4: putstatic jdk.internal.net.http.MultiExchange.debug:Ljdk/internal/net/http/common/Logger;
5: ldc "jdk.httpclient.redirects.retrylimit"
iconst_5
6: invokestatic jdk.internal.net.http.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
putstatic jdk.internal.net.http.MultiExchange.max_attempts:I
7: invokestatic jdk.internal.net.http.MultiExchange.retryPostValue:()Z
putstatic jdk.internal.net.http.MultiExchange.RETRY_ALWAYS:Z
8: invokestatic jdk.internal.net.http.MultiExchange.retryConnect:()Z
putstatic jdk.internal.net.http.MultiExchange.RETRY_CONNECT:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.net.http.HttpRequest, jdk.internal.net.http.HttpRequestImpl, jdk.internal.net.http.HttpClientImpl, java.net.http.HttpResponse$BodyHandler<T>, java.net.http.HttpResponse$PushPromiseHandler<T>, java.security.AccessControlContext);
descriptor: (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
flags: (0x0000)
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield jdk.internal.net.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aconst_null
putfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
3: aload 0
iconst_0
putfield jdk.internal.net.http.MultiExchange.numberOfRedirects:I
4: aload 0
aconst_null
putfield jdk.internal.net.http.MultiExchange.previous:Ljdk/internal/net/http/Exchange;
5: aload 0
aload 1
putfield jdk.internal.net.http.MultiExchange.userRequest:Ljava/net/http/HttpRequest;
6: aload 0
aload 2
putfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
7: aload 0
aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
putfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
8: aload 0
aconst_null
putfield jdk.internal.net.http.MultiExchange.previousreq:Ljdk/internal/net/http/HttpRequestImpl;
9: aload 0
aload 3
putfield jdk.internal.net.http.MultiExchange.client:Ljdk/internal/net/http/HttpClientImpl;
10: aload 0
aload 3
invokevirtual jdk.internal.net.http.HttpClientImpl.filterChain:()Ljava/util/LinkedList;
putfield jdk.internal.net.http.MultiExchange.filters:Ljava/util/LinkedList;
11: aload 0
aload 6
putfield jdk.internal.net.http.MultiExchange.acc:Ljava/security/AccessControlContext;
12: aload 0
aload 3
invokevirtual jdk.internal.net.http.HttpClientImpl.theExecutor:()Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
putfield jdk.internal.net.http.MultiExchange.executor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
13: aload 0
aload 4
putfield jdk.internal.net.http.MultiExchange.responseHandler:Ljava/net/http/HttpResponse$BodyHandler;
14: aload 5
ifnull 21
15: aload 6
ifnonnull 17
16: aload 0
getfield jdk.internal.net.http.MultiExchange.executor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
invokevirtual jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.delegate:()Ljava/util/concurrent/Executor;
goto 18
17: StackMap locals: jdk.internal.net.http.MultiExchange java.net.http.HttpRequest jdk.internal.net.http.HttpRequestImpl jdk.internal.net.http.HttpClientImpl java.net.http.HttpResponse$BodyHandler java.net.http.HttpResponse$PushPromiseHandler java.security.AccessControlContext
StackMap stack:
new jdk.internal.net.http.PrivilegedExecutor
dup
aload 0
getfield jdk.internal.net.http.MultiExchange.executor:Ljdk/internal/net/http/HttpClientImpl$DelegatingExecutor;
invokevirtual jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.delegate:()Ljava/util/concurrent/Executor;
aload 6
invokespecial jdk.internal.net.http.PrivilegedExecutor.<init>:(Ljava/util/concurrent/Executor;Ljava/security/AccessControlContext;)V
18: StackMap locals:
StackMap stack: java.util.concurrent.Executor
astore 7
start local 7 19: aload 0
new jdk.internal.net.http.PushGroup
dup
aload 5
aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
aload 7
invokespecial jdk.internal.net.http.PushGroup.<init>:(Ljava/net/http/HttpResponse$PushPromiseHandler;Ljdk/internal/net/http/HttpRequestImpl;Ljava/util/concurrent/Executor;)V
putfield jdk.internal.net.http.MultiExchange.pushGroup:Ljdk/internal/net/http/PushGroup;
end local 7 20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.internal.net.http.MultiExchange.pushGroup:Ljdk/internal/net/http/PushGroup;
22: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.net.http.Exchange
dup
aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
aload 0
invokespecial jdk.internal.net.http.Exchange.<init>:(Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/MultiExchange;)V
putfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
23: return
end local 6 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 24 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 24 1 userRequest Ljava/net/http/HttpRequest;
0 24 2 requestImpl Ljdk/internal/net/http/HttpRequestImpl;
0 24 3 client Ljdk/internal/net/http/HttpClientImpl;
0 24 4 responseHandler Ljava/net/http/HttpResponse$BodyHandler<TT;>;
0 24 5 pushPromiseHandler Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;
0 24 6 acc Ljava/security/AccessControlContext;
19 20 7 executor Ljava/util/concurrent/Executor;
Signature: (Ljava/net/http/HttpRequest;Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/HttpClientImpl;Ljava/net/http/HttpResponse$BodyHandler<TT;>;Ljava/net/http/HttpResponse$PushPromiseHandler<TT;>;Ljava/security/AccessControlContext;)V
MethodParameters:
Name Flags
userRequest
requestImpl
client
responseHandler
pushPromiseHandler
acc
synchronized jdk.internal.net.http.Exchange<T> getExchange();
descriptor: ()Ljdk/internal/net/http/Exchange;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
Signature: ()Ljdk/internal/net/http/Exchange<TT;>;
jdk.internal.net.http.HttpClientImpl client();
descriptor: ()Ljdk/internal/net/http/HttpClientImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.MultiExchange.client:Ljdk/internal/net/http/HttpClientImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
java.net.http.HttpClient$Version version();
descriptor: ()Ljava/net/http/HttpClient$Version;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.version:()Ljava/util/Optional;
aload 0
getfield jdk.internal.net.http.MultiExchange.client:Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.version:()Ljava/net/http/HttpClient$Version;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.http.HttpClient$Version
astore 1
start local 1 1: aload 1
getstatic java.net.http.HttpClient$Version.HTTP_2:Ljava/net/http/HttpClient$Version;
if_acmpne 3
aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.secure:()Z
ifne 3
aload 0
getfield jdk.internal.net.http.MultiExchange.request:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.proxy:()Ljava/net/InetSocketAddress;
ifnull 3
2: getstatic java.net.http.HttpClient$Version.HTTP_1_1:Ljava/net/http/HttpClient$Version;
astore 1
3: StackMap locals: java.net.http.HttpClient$Version
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
1 4 1 vers Ljava/net/http/HttpClient$Version;
private synchronized void setExchange(jdk.internal.net.http.Exchange<T>);
descriptor: (Ljdk/internal/net/http/Exchange;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
ifnull 2
aload 1
aload 0
getfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
if_acmpeq 2
1: aload 0
getfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
invokevirtual jdk.internal.net.http.Exchange.released:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.net.http.MultiExchange.exchange:Ljdk/internal/net/http/Exchange;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 4 1 exchange Ljdk/internal/net/http/Exchange<TT;>;
Signature: (Ljdk/internal/net/http/Exchange<TT;>;)V
MethodParameters:
Name Flags
exchange
private void cancelTimer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.MultiExchange.responseTimerEvent:Ljdk/internal/net/http/ResponseTimerEvent;
ifnull 2
1: aload 0
getfield jdk.internal.net.http.MultiExchange.client:Ljdk/internal/net/http/HttpClientImpl;
aload 0
getfield jdk.internal.net.http.MultiExchange.responseTimerEvent:Ljdk/internal/net/http/ResponseTimerEvent;
invokevirtual jdk.internal.net.http.HttpClientImpl.cancelTimer:(Ljdk/internal/net/http/TimeoutEvent;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
private void requestFilters(jdk.internal.net.http.HttpRequestImpl);
descriptor: (Ljdk/internal/net/http/HttpRequestImpl;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: ldc "Applying request filters"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.internal.net.http.MultiExchange.filters:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: jdk.internal.net.http.MultiExchange jdk.internal.net.http.HttpRequestImpl top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HeaderFilter
astore 2
start local 2 3: ldc "Applying {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
4: aload 2
aload 1
aload 0
invokeinterface jdk.internal.net.http.HeaderFilter.request:(Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/MultiExchange;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: ldc "All filters applied"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 8 1 r Ljdk/internal/net/http/HttpRequestImpl;
3 5 2 filter Ljdk/internal/net/http/HeaderFilter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
private jdk.internal.net.http.HttpRequestImpl responseFilters(jdk.internal.net.http.Response);
descriptor: (Ljdk/internal/net/http/Response;)Ljdk/internal/net/http/HttpRequestImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: ldc "Applying response filters"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.internal.net.http.MultiExchange.filters:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.descendingIterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 9
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.net.http.HeaderFilter
astore 3
start local 3 4: ldc "Applying {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
5: aload 3
aload 1
invokeinterface jdk.internal.net.http.HeaderFilter.response:(Ljdk/internal/net/http/Response;)Ljdk/internal/net/http/HttpRequestImpl;
astore 4
start local 4 6: aload 4
ifnull 9
7: ldc "New request: stopping filters"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
8: aload 4
areturn
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: ldc "All filters applied"
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 12 1 response Ljdk/internal/net/http/Response;
2 12 2 reverseItr Ljava/util/Iterator<Ljdk/internal/net/http/HeaderFilter;>;
4 9 3 filter Ljdk/internal/net/http/HeaderFilter;
6 9 4 newreq Ljdk/internal/net/http/HttpRequestImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
response
public void cancel(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield jdk.internal.net.http.MultiExchange.cancelled:Z
1: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.getExchange:()Ljdk/internal/net/http/Exchange;
aload 1
invokevirtual jdk.internal.net.http.Exchange.cancel:(Ljava/io/IOException;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 3 1 cause Ljava/io/IOException;
MethodParameters:
Name Flags
cause
public java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> responseAsync(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new jdk.internal.net.http.common.MinimalFuture
dup
invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual jdk.internal.net.http.MultiExchange.responseAsync0:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
astore 3
start local 3 2: aload 2
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/internal/net/http/MultiExchange.lambda$1()Ljava/lang/Void; (6)
()Ljava/lang/Void;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeAsync:(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 4 1 executor Ljava/util/concurrent/Executor;
1 4 2 start Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
2 4 3 cf Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
Signature: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
executor
private static boolean bodyNotPermitted(jdk.internal.net.http.Response);
descriptor: (Ljdk/internal/net/http/Response;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Response.statusCode:I
sipush 204
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 r Ljdk/internal/net/http/Response;
MethodParameters:
Name Flags
r
private boolean bodyIsPresent(jdk.internal.net.http.Response);
descriptor: (Ljdk/internal/net/http/Response;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.internal.net.http.Response.headers:()Ljava/net/http/HttpHeaders;
astore 2
start local 2 1: aload 2
ldc "Content-length"
invokevirtual java.net.http.HttpHeaders.firstValueAsLong:(Ljava/lang/String;)Ljava/util/OptionalLong;
lconst_0
invokevirtual java.util.OptionalLong.orElse:(J)J
lconst_0
lcmp
ifeq 3
2: iconst_1
ireturn
3: StackMap locals: java.net.http.HttpHeaders
StackMap stack:
aload 2
ldc "Transfer-encoding"
invokevirtual java.net.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 6 1 r Ljdk/internal/net/http/Response;
1 6 2 headers Ljava/net/http/HttpHeaders;
MethodParameters:
Name Flags
r
private java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> handleNoBody(jdk.internal.net.http.Response, jdk.internal.net.http.Exchange<T>);
descriptor: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.net.http.MultiExchange.responseHandler:Ljava/net/http/HttpResponse$BodyHandler;
new jdk.internal.net.http.ResponseInfoImpl
dup
aload 1
invokevirtual jdk.internal.net.http.Response.statusCode:()I
1: aload 1
invokevirtual jdk.internal.net.http.Response.headers:()Ljava/net/http/HttpHeaders;
aload 1
invokevirtual jdk.internal.net.http.Response.version:()Ljava/net/http/HttpClient$Version;
invokespecial jdk.internal.net.http.ResponseInfoImpl.<init>:(ILjava/net/http/HttpHeaders;Ljava/net/http/HttpClient$Version;)V
2: invokeinterface java.net.http.HttpResponse$BodyHandler.apply:(Ljava/net/http/HttpResponse$ResponseInfo;)Ljava/net/http/HttpResponse$BodySubscriber;
astore 3
start local 3 3: aload 3
invokeinterface java.net.http.HttpResponse$BodySubscriber.getBody:()Ljava/util/concurrent/CompletionStage;
astore 4
start local 4 4: aload 3
new jdk.internal.net.http.MultiExchange$NullSubscription
dup
invokespecial jdk.internal.net.http.MultiExchange$NullSubscription.<init>:()V
invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
5: aload 3
invokeinterface java.net.http.HttpResponse$BodySubscriber.onComplete:()V
6: new jdk.internal.net.http.common.MinimalFuture
dup
invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
astore 5
start local 5 7: aload 4
aload 0
aload 5
aload 1
aload 2
invokedynamic accept(Ljdk/internal/net/http/MultiExchange;Ljdk/internal/net/http/common/MinimalFuture;Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)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/internal/net/http/MultiExchange.lambda$2(Ljdk/internal/net/http/common/MinimalFuture;Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;Ljava/lang/Object;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.CompletionStage.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
pop
8: aload 5
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 9 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 9 1 r Ljdk/internal/net/http/Response;
0 9 2 exch Ljdk/internal/net/http/Exchange<TT;>;
3 9 3 bs Ljava/net/http/HttpResponse$BodySubscriber<TT;>;
4 9 4 cs Ljava/util/concurrent/CompletionStage<TT;>;
7 9 5 result Ljdk/internal/net/http/common/MinimalFuture<Ljava/net/http/HttpResponse<TT;>;>;
Signature: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange<TT;>;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
r
exch
private java.util.concurrent.CompletableFuture<java.net.http.HttpResponse<T>> responseAsync0(java.util.concurrent.CompletableFuture<java.lang.Void>);
descriptor: (Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;)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/MultiExchange.lambda$3(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;
1: aload 0
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;)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/MultiExchange.lambda$4(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;
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 3 1 start Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
Signature: (Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;)Ljava/util/concurrent/CompletableFuture<Ljava/net/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
start
private java.util.concurrent.CompletableFuture<jdk.internal.net.http.Response> responseAsyncImpl();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
getstatic jdk.internal.net.http.MultiExchange.max_attempts:I
if_icmple 3
1: new java.io.IOException
dup
ldc "Too many retries"
aload 0
getfield jdk.internal.net.http.MultiExchange.retryCause:Ljava/lang/Throwable;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
astore 1
start local 1 2: goto 17
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.timeout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
4: aload 0
aload 0
invokestatic jdk.internal.net.http.ResponseTimerEvent.of:(Ljdk/internal/net/http/MultiExchange;)Ljdk/internal/net/http/ResponseTimerEvent;
putfield jdk.internal.net.http.MultiExchange.responseTimerEvent:Ljdk/internal/net/http/ResponseTimerEvent;
5: aload 0
getfield jdk.internal.net.http.MultiExchange.client:Ljdk/internal/net/http/HttpClientImpl;
aload 0
getfield jdk.internal.net.http.MultiExchange.responseTimerEvent:Ljdk/internal/net/http/ResponseTimerEvent;
invokevirtual jdk.internal.net.http.HttpClientImpl.registerTimer:(Ljdk/internal/net/http/TimeoutEvent;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
aload 0
getfield jdk.internal.net.http.MultiExchange.previousreq:Ljdk/internal/net/http/HttpRequestImpl;
if_acmpeq 11
7: aload 0
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.MultiExchange.requestFilters:(Ljdk/internal/net/http/HttpRequestImpl;)V
8: goto 11
StackMap locals:
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: aload 2
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 2 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.net.http.MultiExchange.getExchange:()Ljdk/internal/net/http/Exchange;
astore 2
start local 2 12: aload 2
invokevirtual jdk.internal.net.http.Exchange.responseAsync:()Ljava/util/concurrent/CompletableFuture;
13: aload 0
aload 2
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;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/MultiExchange.lambda$6(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;
14: aload 0
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;)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/MultiExchange.lambda$8(Ljdk/internal/net/http/Response;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; (7)
(Ljdk/internal/net/http/Response;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.handle:(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
15: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
16: astore 1
end local 2 start local 1 17: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
2 3 1 cf Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
17 18 1 cf Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
10 11 2 e Ljava/io/IOException;
12 17 2 exch Ljdk/internal/net/http/Exchange<TT;>;
Exception table:
from to target type
6 8 9 Class java.io.IOException
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
private static boolean retryPostValue();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: ldc "jdk.httpclient.enableAllMethodRetry"
invokestatic jdk.internal.net.http.common.Utils.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals:
StackMap stack: int
5: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 s Ljava/lang/String;
private static boolean retryConnect();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: ldc "jdk.httpclient.disableRetryConnect"
invokestatic jdk.internal.net.http.common.Utils.getNetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals:
StackMap stack: int
5: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 s Ljava/lang/String;
private static boolean isIdempotentRequest(java.net.http.HttpRequest);
descriptor: (Ljava/net/http/HttpRequest;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.http.HttpRequest.method:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
70454: 2
2213344: 3
default: 5
}
StackMap locals: java.lang.String java.lang.String
StackMap stack:
2: aload 2
ldc "GET"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 5
StackMap locals:
StackMap stack:
3: aload 2
ldc "HEAD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 5
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Ljava/net/http/HttpRequest;
1 6 1 method Ljava/lang/String;
MethodParameters:
Name Flags
request
private static boolean canRetryRequest(java.net.http.HttpRequest);
descriptor: (Ljava/net/http/HttpRequest;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.net.http.MultiExchange.RETRY_ALWAYS:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.net.http.MultiExchange.isIdempotentRequest:(Ljava/net/http/HttpRequest;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Ljava/net/http/HttpRequest;
MethodParameters:
Name Flags
request
private boolean retryOnFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.internal.net.http.common.ConnectionExpiredException
ifne 3
1: getstatic jdk.internal.net.http.MultiExchange.RETRY_CONNECT:Z
ifeq 2
aload 1
instanceof java.net.ConnectException
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
private java.lang.Throwable retryCause(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.internal.net.http.common.ConnectionExpiredException
ifeq 1
aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: aload 2
ifnonnull 4
aload 1
goto 5
StackMap locals: java.lang.Throwable
StackMap stack:
4: aload 2
StackMap locals:
StackMap stack: java.lang.Throwable
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 6 1 t Ljava/lang/Throwable;
3 6 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
private java.util.concurrent.CompletableFuture<jdk.internal.net.http.Response> getExceptionalCF(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.concurrent.CompletionException
ifne 1
aload 1
instanceof java.util.concurrent.ExecutionException
ifeq 3
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ifnull 3
2: aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.MultiExchange.cancelled:Z
ifeq 7
aload 1
instanceof java.io.IOException
ifeq 7
4: aload 1
instanceof java.net.http.HttpTimeoutException
ifne 24
5: aload 0
aload 1
checkcast java.io.IOException
invokevirtual jdk.internal.net.http.MultiExchange.toTimeoutException:(Ljava/io/IOException;)Ljava/net/http/HttpTimeoutException;
astore 1
6: goto 24
StackMap locals:
StackMap stack:
7: aload 0
aload 1
invokevirtual jdk.internal.net.http.MultiExchange.retryOnFailure:(Ljava/lang/Throwable;)Z
ifeq 24
8: aload 0
aload 1
invokevirtual jdk.internal.net.http.MultiExchange.retryCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 2
start local 2 9: aload 1
instanceof java.net.ConnectException
ifne 12
10: aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
invokestatic jdk.internal.net.http.MultiExchange.canRetryRequest:(Ljava/net/http/HttpRequest;)Z
ifne 12
11: aload 2
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 2
putfield jdk.internal.net.http.MultiExchange.retryCause:Ljava/lang/Throwable;
13: aload 0
getfield jdk.internal.net.http.MultiExchange.expiredOnce:Z
ifne 19
14: getstatic jdk.internal.net.http.MultiExchange.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 16
15: getstatic jdk.internal.net.http.MultiExchange.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " (async): retrying..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
16: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.MultiExchange.expiredOnce:Z
17: aload 0
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
putfield jdk.internal.net.http.MultiExchange.previousreq:Ljdk/internal/net/http/HttpRequestImpl;
18: aconst_null
areturn
19: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.MultiExchange.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 23
20: getstatic jdk.internal.net.http.MultiExchange.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: ldc " (async): already retried once."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
22: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
23: StackMap locals:
StackMap stack:
aload 2
astore 1
end local 2 24: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 25 1 t Ljava/lang/Throwable;
9 24 2 cause Ljava/lang/Throwable;
Signature: (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
MethodParameters:
Name Flags
t
private java.net.http.HttpTimeoutException toTimeoutException(java.io.IOException);
descriptor: (Ljava/io/IOException;)Ljava/net/http/HttpTimeoutException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.getExchange:()Ljdk/internal/net/http/Exchange;
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 3
getfield jdk.internal.net.http.Exchange.exchImpl:Ljdk/internal/net/http/ExchangeImpl;
astore 4
start local 4 4: aload 4
ifnull 8
5: aload 4
invokevirtual jdk.internal.net.http.ExchangeImpl.connection:()Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.connected:()Z
ifeq 8
6: new java.net.http.HttpTimeoutException
dup
ldc "request timed out"
invokespecial java.net.http.HttpTimeoutException.<init>:(Ljava/lang/String;)V
astore 2
7: aload 2
aload 1
invokevirtual java.net.http.HttpTimeoutException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
end local 4 8: StackMap locals: java.net.http.HttpTimeoutException jdk.internal.net.http.Exchange
StackMap stack:
aload 2
ifnonnull 11
9: new java.net.http.HttpConnectTimeoutException
dup
ldc "HTTP connect timed out"
invokespecial java.net.http.HttpConnectTimeoutException.<init>:(Ljava/lang/String;)V
astore 2
10: aload 2
new java.net.ConnectException
dup
ldc "HTTP connect timed out"
invokespecial java.net.ConnectException.<init>:(Ljava/lang/String;)V
invokevirtual java.net.http.HttpTimeoutException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
11: StackMap locals:
StackMap stack:
aload 2
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/MultiExchange<TT;>;
0 12 1 ioe Ljava/io/IOException;
1 12 2 t Ljava/net/http/HttpTimeoutException;
2 12 3 exchange Ljdk/internal/net/http/Exchange<*>;
4 8 4 exchangeImpl Ljdk/internal/net/http/ExchangeImpl<*>;
MethodParameters:
Name Flags
ioe
private static java.lang.Void lambda$1();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$2(jdk.internal.net.http.common.MinimalFuture, jdk.internal.net.http.Response, jdk.internal.net.http.Exchange, java.lang.Object, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/common/MinimalFuture;Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 4 start local 5 0: aload 5
ifnull 2
1: aload 1
aload 5
invokevirtual jdk.internal.net.http.common.MinimalFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
goto 6
2: StackMap locals:
StackMap stack:
aload 0
3: new jdk.internal.net.http.HttpResponseImpl
dup
aload 2
invokevirtual jdk.internal.net.http.Response.request:()Ljdk/internal/net/http/HttpRequestImpl;
aload 2
aload 0
getfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
aload 4
aload 3
invokespecial jdk.internal.net.http.HttpResponseImpl.<init>:(Ljava/net/http/HttpRequest;Ljdk/internal/net/http/Response;Ljava/net/http/HttpResponse;Ljava/lang/Object;Ljdk/internal/net/http/Exchange;)V
4: putfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
5: aload 1
aload 0
getfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
invokevirtual jdk.internal.net.http.common.MinimalFuture.complete:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 7 4 nullBody TT;
0 7 5 exception Ljava/lang/Throwable;
private java.util.concurrent.CompletionStage lambda$3(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
invokevirtual jdk.internal.net.http.MultiExchange.responseAsyncImpl:()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/MultiExchange<TT;>;
0 1 1 v Ljava/lang/Void;
private java.util.concurrent.CompletionStage lambda$4(jdk.internal.net.http.Response);
descriptor: (Ljdk/internal/net/http/Response;)Ljava/util/concurrent/CompletionStage;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.getExchange:()Ljdk/internal/net/http/Exchange;
astore 2
start local 2 1: aload 1
invokestatic jdk.internal.net.http.MultiExchange.bodyNotPermitted:(Ljdk/internal/net/http/Response;)Z
ifeq 9
2: aload 0
aload 1
invokevirtual jdk.internal.net.http.MultiExchange.bodyIsPresent:(Ljdk/internal/net/http/Response;)Z
ifeq 8
3: new java.io.IOException
dup
4: ldc "unexpected content length header with 204 response"
5: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 6: aload 2
aload 3
invokevirtual jdk.internal.net.http.Exchange.cancel:(Ljava/io/IOException;)V
7: aload 3
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 8: StackMap locals: jdk.internal.net.http.Exchange
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.internal.net.http.MultiExchange.handleNoBody:(Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;)Ljava/util/concurrent/CompletableFuture;
areturn
9: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.internal.net.http.MultiExchange.responseHandler:Ljava/net/http/HttpResponse$BodyHandler;
invokevirtual jdk.internal.net.http.Exchange.readBodyAsync:(Ljava/net/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
10: aload 0
aload 1
aload 2
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;Ljdk/internal/net/http/Response;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/MultiExchange.lambda$5(Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;Ljava/lang/Object;)Ljava/net/http/HttpResponse; (7)
(Ljava/lang/Object;)Ljava/net/http/HttpResponse;
invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
11: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 12 1 r Ljdk/internal/net/http/Response;
1 12 2 exch Ljdk/internal/net/http/Exchange<TT;>;
6 8 3 ioe Ljava/io/IOException;
private java.util.concurrent.CompletionStage lambda$6(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=8, locals=5, args_size=3
start local 0 start local 2 0: aload 0
aload 2
invokevirtual jdk.internal.net.http.MultiExchange.responseFilters:(Ljdk/internal/net/http/Response;)Ljdk/internal/net/http/HttpRequestImpl;
astore 3
start local 3 1: goto 4
end local 3 StackMap locals:
StackMap stack: java.io.IOException
2: astore 4
start local 4 3: aload 4
invokestatic jdk.internal.net.http.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 4 start local 3 4: StackMap locals: jdk.internal.net.http.HttpRequestImpl
StackMap stack:
aload 3
ifnonnull 8
5: aload 0
getfield jdk.internal.net.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
iconst_1
if_icmple 7
6: new java.lang.StringBuilder
dup
ldc "Succeeded on attempt: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
areturn
8: StackMap locals:
StackMap stack:
aload 0
9: new jdk.internal.net.http.HttpResponseImpl
dup
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
aload 2
aload 0
getfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
aconst_null
aload 1
invokespecial jdk.internal.net.http.HttpResponseImpl.<init>:(Ljava/net/http/HttpRequest;Ljdk/internal/net/http/Response;Ljava/net/http/HttpResponse;Ljava/lang/Object;Ljdk/internal/net/http/Exchange;)V
10: putfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
11: aload 1
invokevirtual jdk.internal.net.http.Exchange.ignoreBody:()Ljava/util/concurrent/CompletableFuture;
aload 0
aload 3
invokedynamic apply(Ljdk/internal/net/http/MultiExchange;Ljdk/internal/net/http/HttpRequestImpl;)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/MultiExchange.lambda$7(Ljdk/internal/net/http/HttpRequestImpl;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 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 14 2 response Ljdk/internal/net/http/Response;
1 2 3 newrequest Ljdk/internal/net/http/HttpRequestImpl;
4 14 3 newrequest Ljdk/internal/net/http/HttpRequestImpl;
3 4 4 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private java.util.concurrent.CompletableFuture lambda$8(jdk.internal.net.http.Response, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/Response;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.cancelTimer:()V
1: aload 2
ifnonnull 4
2: getstatic jdk.internal.net.http.MultiExchange.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.internal.net.http.MultiExchange.getExceptionalCF:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.responseAsyncImpl:()Ljava/util/concurrent/CompletableFuture;
areturn
7: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 8 1 response Ljdk/internal/net/http/Response;
0 8 2 ex Ljava/lang/Throwable;
5 8 3 errorCF Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
private java.net.http.HttpResponse lambda$5(jdk.internal.net.http.Response, jdk.internal.net.http.Exchange, java.lang.Object);
descriptor: (Ljdk/internal/net/http/Response;Ljdk/internal/net/http/Exchange;Ljava/lang/Object;)Ljava/net/http/HttpResponse;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 3 0: aload 0
1: new jdk.internal.net.http.HttpResponseImpl
dup
aload 1
invokevirtual jdk.internal.net.http.Response.request:()Ljdk/internal/net/http/HttpRequestImpl;
aload 1
aload 0
getfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
aload 3
aload 2
invokespecial jdk.internal.net.http.HttpResponseImpl.<init>:(Ljava/net/http/HttpRequest;Ljdk/internal/net/http/Response;Ljava/net/http/HttpResponse;Ljava/lang/Object;Ljdk/internal/net/http/Exchange;)V
2: putfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
3: aload 0
getfield jdk.internal.net.http.MultiExchange.response:Ljava/net/http/HttpResponse;
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 4 3 body TT;
private java.util.concurrent.CompletableFuture lambda$7(jdk.internal.net.http.HttpRequestImpl, java.lang.Void, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/HttpRequestImpl;Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
putfield jdk.internal.net.http.MultiExchange.previousreq:Ljdk/internal/net/http/HttpRequestImpl;
1: aload 0
aload 1
putfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
2: aload 0
iconst_0
putfield jdk.internal.net.http.MultiExchange.expiredOnce:Z
3: aload 0
new jdk.internal.net.http.Exchange
dup
aload 0
getfield jdk.internal.net.http.MultiExchange.currentreq:Ljdk/internal/net/http/HttpRequestImpl;
aload 0
aload 0
getfield jdk.internal.net.http.MultiExchange.acc:Ljava/security/AccessControlContext;
invokespecial jdk.internal.net.http.Exchange.<init>:(Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/MultiExchange;Ljava/security/AccessControlContext;)V
invokevirtual jdk.internal.net.http.MultiExchange.setExchange:(Ljdk/internal/net/http/Exchange;)V
4: aload 0
invokevirtual jdk.internal.net.http.MultiExchange.responseAsyncImpl:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/MultiExchange<TT;>;
0 5 2 r Ljava/lang/Void;
0 5 3 t Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "MultiExchange.java"
NestMembers:
jdk.internal.net.http.MultiExchange$NullSubscription
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Version = java.net.http.HttpClient$Version of java.net.http.HttpClient
public abstract BodyHandler = java.net.http.HttpResponse$BodyHandler of java.net.http.HttpResponse
public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
public abstract PushPromiseHandler = java.net.http.HttpResponse$PushPromiseHandler of java.net.http.HttpResponse
public abstract ResponseInfo = java.net.http.HttpResponse$ResponseInfo of java.net.http.HttpResponse
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
AuthInfo = jdk.internal.net.http.AuthenticationFilter$AuthInfo of jdk.internal.net.http.AuthenticationFilter
final DelegatingExecutor = jdk.internal.net.http.HttpClientImpl$DelegatingExecutor of jdk.internal.net.http.HttpClientImpl
NullSubscription = jdk.internal.net.http.MultiExchange$NullSubscription of jdk.internal.net.http.MultiExchange