class jdk.incubator.http.MultiExchange<U, T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.MultiExchange
super_class: java.lang.Object
{
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.System$Logger DEBUG_LOGGER;
descriptor: Ljava/lang/System$Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final jdk.incubator.http.HttpRequest userRequest;
descriptor: Ljdk/incubator/http/HttpRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.HttpRequestImpl request;
descriptor: Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpClientImpl client;
descriptor: Ljdk/incubator/http/HttpClientImpl;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpResponse$BodyHandler<T> responseHandler;
descriptor: Ljdk/incubator/http/HttpResponse$BodyHandler;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpResponse$MultiSubscriber<U, T> multiResponseSubscriber;
descriptor: Ljdk/incubator/http/HttpResponse$MultiSubscriber;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;
final java.util.concurrent.atomic.AtomicInteger attempts;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
jdk.incubator.http.HttpRequestImpl currentreq;
descriptor: Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0000)
jdk.incubator.http.Exchange<T> exchange;
descriptor: Ljdk/incubator/http/Exchange;
flags: (0x0000)
Signature: Ljdk/incubator/http/Exchange<TT;>;
jdk.incubator.http.Exchange<T> previous;
descriptor: Ljdk/incubator/http/Exchange;
flags: (0x0000)
Signature: Ljdk/incubator/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 jdk.incubator.http.HttpResponse<T> response;
descriptor: Ljdk/incubator/http/HttpResponse;
flags: (0x0040) ACC_VOLATILE
Signature: Ljdk/incubator/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.List<jdk.incubator.http.HeaderFilter> filters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/incubator/http/HeaderFilter;>;
jdk.incubator.http.MultiExchange<U, T>.TimedEvent timedEvent;
descriptor: Ljdk/incubator/http/MultiExchange$TimedEvent;
flags: (0x0000)
Signature: Ljdk/incubator/http/MultiExchange<TU;TT;>.TimedEvent;
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final jdk.incubator.http.PushGroup<U, T> pushGroup;
descriptor: Ljdk/incubator/http/PushGroup;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/incubator/http/PushGroup<TU;TT;>;
volatile jdk.incubator.http.AuthenticationFilter$AuthInfo serverauth;
descriptor: Ljdk/incubator/http/AuthenticationFilter$AuthInfo;
flags: (0x0040) ACC_VOLATILE
volatile jdk.incubator.http.AuthenticationFilter$AuthInfo proxyauth;
descriptor: Ljdk/incubator/http/AuthenticationFilter$AuthInfo;
flags: (0x0040) ACC_VOLATILE
volatile int numberOfRedirects;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/incubator/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.incubator.http.MultiExchange.$assertionsDisabled:Z
3: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.MultiExchange.DEBUG:Z
4: 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.incubator.http.MultiExchange.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
5: putstatic jdk.incubator.http.MultiExchange.DEBUG_LOGGER:Ljava/lang/System$Logger;
6: ldc "jdk.httpclient.redirects.retrylimit"
iconst_5
7: invokestatic jdk.incubator.http.internal.common.Utils.getIntegerNetProperty:(Ljava/lang/String;I)I
putstatic jdk.incubator.http.MultiExchange.max_attempts:I
8: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpResponse$BodyHandler<T>, java.security.AccessControlContext);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$BodyHandler;Ljava/security/AccessControlContext;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 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.incubator.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
3: aload 0
iconst_0
putfield jdk.incubator.http.MultiExchange.numberOfRedirects:I
4: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.previous:Ljdk/incubator/http/Exchange;
5: aload 0
aload 1
putfield jdk.incubator.http.MultiExchange.userRequest:Ljdk/incubator/http/HttpRequest;
6: aload 0
aload 2
putfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
7: aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
putfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
8: aload 0
aload 3
putfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
9: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.filterChain:()Ljava/util/List;
putfield jdk.incubator.http.MultiExchange.filters:Ljava/util/List;
10: aload 0
aload 5
putfield jdk.incubator.http.MultiExchange.acc:Ljava/security/AccessControlContext;
11: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.theExecutor:()Ljava/util/concurrent/Executor;
putfield jdk.incubator.http.MultiExchange.executor:Ljava/util/concurrent/Executor;
12: aload 0
aload 4
putfield jdk.incubator.http.MultiExchange.responseHandler:Ljdk/incubator/http/HttpResponse$BodyHandler;
13: aload 5
ifnull 16
14: aload 4
instanceof jdk.incubator.http.HttpResponse$UntrustedBodyHandler
ifeq 16
15: aload 0
getfield jdk.incubator.http.MultiExchange.responseHandler:Ljdk/incubator/http/HttpResponse$BodyHandler;
checkcast jdk.incubator.http.HttpResponse$UntrustedBodyHandler
aload 5
invokeinterface jdk.incubator.http.HttpResponse$UntrustedBodyHandler.setAccessControlContext:(Ljava/security/AccessControlContext;)V
16: StackMap locals: jdk.incubator.http.MultiExchange jdk.incubator.http.HttpRequest jdk.incubator.http.HttpRequestImpl jdk.incubator.http.HttpClientImpl jdk.incubator.http.HttpResponse$BodyHandler java.security.AccessControlContext
StackMap stack:
aload 0
new jdk.incubator.http.Exchange
dup
aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
aload 0
invokespecial jdk.incubator.http.Exchange.<init>:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/MultiExchange;)V
putfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
17: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.multiResponseSubscriber:Ljdk/incubator/http/HttpResponse$MultiSubscriber;
18: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
19: return
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 20 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 20 1 userRequest Ljdk/incubator/http/HttpRequest;
0 20 2 requestImpl Ljdk/incubator/http/HttpRequestImpl;
0 20 3 client Ljdk/incubator/http/HttpClientImpl;
0 20 4 responseHandler Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
0 20 5 acc Ljava/security/AccessControlContext;
Signature: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;Ljava/security/AccessControlContext;)V
MethodParameters:
Name Flags
userRequest
requestImpl
client
responseHandler
acc
void <init>(jdk.incubator.http.HttpRequest, jdk.incubator.http.HttpRequestImpl, jdk.incubator.http.HttpClientImpl, jdk.incubator.http.HttpResponse$MultiSubscriber<U, T>, java.security.AccessControlContext);
descriptor: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$MultiSubscriber;Ljava/security/AccessControlContext;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 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.incubator.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
3: aload 0
iconst_0
putfield jdk.incubator.http.MultiExchange.numberOfRedirects:I
4: aload 0
aconst_null
putfield jdk.incubator.http.MultiExchange.previous:Ljdk/incubator/http/Exchange;
5: aload 0
aload 1
putfield jdk.incubator.http.MultiExchange.userRequest:Ljdk/incubator/http/HttpRequest;
6: aload 0
aload 2
putfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
7: aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
putfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
8: aload 0
aload 3
putfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
9: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.filterChain:()Ljava/util/List;
putfield jdk.incubator.http.MultiExchange.filters:Ljava/util/List;
10: aload 0
aload 5
putfield jdk.incubator.http.MultiExchange.acc:Ljava/security/AccessControlContext;
11: aload 0
aload 3
invokevirtual jdk.incubator.http.HttpClientImpl.theExecutor:()Ljava/util/concurrent/Executor;
putfield jdk.incubator.http.MultiExchange.executor:Ljava/util/concurrent/Executor;
12: aload 0
aload 4
putfield jdk.incubator.http.MultiExchange.multiResponseSubscriber:Ljdk/incubator/http/HttpResponse$MultiSubscriber;
13: aload 0
new jdk.incubator.http.PushGroup
dup
aload 4
aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
aload 5
invokespecial jdk.incubator.http.PushGroup.<init>:(Ljdk/incubator/http/HttpResponse$MultiSubscriber;Ljdk/incubator/http/HttpRequestImpl;Ljava/security/AccessControlContext;)V
putfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
14: aload 0
new jdk.incubator.http.Exchange
dup
aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
aload 0
invokespecial jdk.incubator.http.Exchange.<init>:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/MultiExchange;)V
putfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
15: aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
invokevirtual jdk.incubator.http.PushGroup.mainResponseHandler:()Ljdk/incubator/http/HttpResponse$BodyHandler;
putfield jdk.incubator.http.MultiExchange.responseHandler:Ljdk/incubator/http/HttpResponse$BodyHandler;
16: return
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 17 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 17 1 userRequest Ljdk/incubator/http/HttpRequest;
0 17 2 requestImpl Ljdk/incubator/http/HttpRequestImpl;
0 17 3 client Ljdk/incubator/http/HttpClientImpl;
0 17 4 multiResponseSubscriber Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;
0 17 5 acc Ljava/security/AccessControlContext;
Signature: (Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpResponse$MultiSubscriber<TU;TT;>;Ljava/security/AccessControlContext;)V
MethodParameters:
Name Flags
userRequest
requestImpl
client
multiResponseSubscriber
acc
private synchronized jdk.incubator.http.Exchange<T> getExchange();
descriptor: ()Ljdk/incubator/http/Exchange;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
Signature: ()Ljdk/incubator/http/Exchange<TT;>;
jdk.incubator.http.HttpClientImpl client();
descriptor: ()Ljdk/incubator/http/HttpClientImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
jdk.incubator.http.HttpClient$Version version();
descriptor: ()Ljdk/incubator/http/HttpClient$Version;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.MultiExchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.version:()Ljava/util/Optional;
aload 0
getfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.version:()Ljdk/incubator/http/HttpClient$Version;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.http.HttpClient$Version
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
private synchronized void setExchange(jdk.incubator.http.Exchange<T>);
descriptor: (Ljdk/incubator/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.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
ifnull 2
aload 1
aload 0
getfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
if_acmpeq 2
1: aload 0
getfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
invokevirtual jdk.incubator.http.Exchange.released:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.incubator.http.MultiExchange.exchange:Ljdk/incubator/http/Exchange;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 4 1 exchange Ljdk/incubator/http/Exchange<TT;>;
Signature: (Ljdk/incubator/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.incubator.http.MultiExchange.timedEvent:Ljdk/incubator/http/MultiExchange$TimedEvent;
ifnull 2
1: aload 0
getfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
aload 0
getfield jdk.incubator.http.MultiExchange.timedEvent:Ljdk/incubator/http/MultiExchange$TimedEvent;
invokevirtual jdk.incubator.http.HttpClientImpl.cancelTimer:(Ljdk/incubator/http/TimeoutEvent;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
private void requestFilters(jdk.incubator.http.HttpRequestImpl);
descriptor: (Ljdk/incubator/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.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.incubator.http.MultiExchange.filters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: jdk.incubator.http.MultiExchange jdk.incubator.http.HttpRequestImpl top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.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.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
4: aload 2
aload 1
aload 0
invokeinterface jdk.incubator.http.HeaderFilter.request:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/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.incubator.http.internal.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/incubator/http/MultiExchange<TU;TT;>;
0 8 1 r Ljdk/incubator/http/HttpRequestImpl;
3 5 2 filter Ljdk/incubator/http/HeaderFilter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
private jdk.incubator.http.HttpRequestImpl responseFilters(jdk.incubator.http.Response);
descriptor: (Ljdk/incubator/http/Response;)Ljdk/incubator/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.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield jdk.incubator.http.MultiExchange.filters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: jdk.incubator.http.MultiExchange jdk.incubator.http.Response top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.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.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
4: aload 2
aload 1
invokeinterface jdk.incubator.http.HeaderFilter.response:(Ljdk/incubator/http/Response;)Ljdk/incubator/http/HttpRequestImpl;
astore 4
start local 4 5: aload 4
ifnull 8
6: ldc "New request: stopping filters"
iconst_0
anewarray java.lang.Object
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
7: aload 4
areturn
end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: ldc "All filters applied"
iconst_0
anewarray java.lang.Object
invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 11 1 response Ljdk/incubator/http/Response;
3 8 2 filter Ljdk/incubator/http/HeaderFilter;
5 8 4 newreq Ljdk/incubator/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.incubator.http.MultiExchange.cancelled:Z
1: aload 0
invokevirtual jdk.incubator.http.MultiExchange.getExchange:()Ljdk/incubator/http/Exchange;
aload 1
invokevirtual jdk.incubator.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/incubator/http/MultiExchange<TU;TT;>;
0 3 1 cause Ljava/io/IOException;
MethodParameters:
Name Flags
cause
public java.util.concurrent.CompletableFuture<jdk.incubator.http.HttpResponse<T>> responseAsync();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual jdk.incubator.http.MultiExchange.responseAsync0:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
astore 2
start local 2 2: aload 1
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/MultiExchange.lambda$1()Ljava/lang/Void; (6)
()Ljava/lang/Void;
aload 0
getfield jdk.incubator.http.MultiExchange.executor:Ljava/util/concurrent/Executor;
invokevirtual java.util.concurrent.CompletableFuture.completeAsync:(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
1 4 1 start Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
2 4 2 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
private java.util.concurrent.CompletableFuture<jdk.incubator.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/incubator/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/incubator/http/MultiExchange.lambda$2(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/incubator/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/incubator/http/MultiExchange.lambda$3(Ljdk/incubator/http/Response;)Ljava/util/concurrent/CompletionStage; (7)
(Ljdk/incubator/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/incubator/http/MultiExchange<TU;TT;>;
0 3 1 start Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
Signature: (Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
MethodParameters:
Name Flags
start
java.util.concurrent.CompletableFuture<U> multiResponseAsync();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual jdk.incubator.http.MultiExchange.responseAsync0:(Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
astore 2
start local 2 2: aload 2
aload 0
invokedynamic apply(Ljdk/incubator/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/incubator/http/MultiExchange.lambda$5(Ljdk/incubator/http/HttpResponse;)Ljdk/incubator/http/HttpResponse; (7)
(Ljdk/incubator/http/HttpResponse;)Ljdk/incubator/http/HttpResponse;
invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
3: astore 3
start local 3 4: aload 0
getfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
aload 3
invokevirtual jdk.incubator.http.PushGroup.setMainResponse:(Ljava/util/concurrent/CompletableFuture;)V
5: aload 0
getfield jdk.incubator.http.MultiExchange.multiResponseSubscriber:Ljdk/incubator/http/HttpResponse$MultiSubscriber;
aload 0
getfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
invokevirtual jdk.incubator.http.PushGroup.groupResult:()Ljava/util/concurrent/CompletableFuture;
6: aload 0
getfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
invokevirtual jdk.incubator.http.PushGroup.pushesCF:()Ljava/util/concurrent/CompletableFuture;
7: invokeinterface jdk.incubator.http.HttpResponse$MultiSubscriber.completion:(Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;
astore 4
start local 4 8: aload 1
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/MultiExchange.lambda$6()Ljava/lang/Void; (6)
()Ljava/lang/Void;
aload 0
getfield jdk.incubator.http.MultiExchange.executor:Ljava/util/concurrent/Executor;
invokevirtual java.util.concurrent.CompletableFuture.completeAsync:(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
9: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
1 10 1 start Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
2 10 2 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
4 10 3 mainResponse Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/HttpResponse<TT;>;>;
8 10 4 res Ljava/util/concurrent/CompletableFuture<TU;>;
Signature: ()Ljava/util/concurrent/CompletableFuture<TU;>;
private java.util.concurrent.CompletableFuture<jdk.incubator.http.Response> responseAsyncImpl();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.MultiExchange.attempts:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
getstatic jdk.incubator.http.MultiExchange.max_attempts:I
if_icmple 3
1: new java.io.IOException
dup
ldc "Too many retries"
aload 0
getfield jdk.incubator.http.MultiExchange.retryCause:Ljava/lang/Throwable;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
invokestatic jdk.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
astore 1
start local 1 2: goto 16
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.timeout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
4: aload 0
new jdk.incubator.http.MultiExchange$TimedEvent
dup
aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.timeout:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.time.Duration
invokespecial jdk.incubator.http.MultiExchange$TimedEvent.<init>:(Ljdk/incubator/http/MultiExchange;Ljava/time/Duration;)V
putfield jdk.incubator.http.MultiExchange.timedEvent:Ljdk/incubator/http/MultiExchange$TimedEvent;
5: aload 0
getfield jdk.incubator.http.MultiExchange.client:Ljdk/incubator/http/HttpClientImpl;
aload 0
getfield jdk.incubator.http.MultiExchange.timedEvent:Ljdk/incubator/http/MultiExchange$TimedEvent;
invokevirtual jdk.incubator.http.HttpClientImpl.registerTimer:(Ljdk/incubator/http/TimeoutEvent;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.MultiExchange.requestFilters:(Ljdk/incubator/http/HttpRequestImpl;)V
7: goto 10
StackMap locals:
StackMap stack: java.io.IOException
8: astore 2
start local 2 9: aload 2
invokestatic jdk.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.http.MultiExchange.getExchange:()Ljdk/incubator/http/Exchange;
astore 2
start local 2 11: aload 2
invokevirtual jdk.incubator.http.Exchange.responseAsync:()Ljava/util/concurrent/CompletableFuture;
12: aload 0
aload 2
invokedynamic apply(Ljdk/incubator/http/MultiExchange;Ljdk/incubator/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/incubator/http/MultiExchange.lambda$7(Ljdk/incubator/http/Exchange;Ljdk/incubator/http/Response;)Ljava/util/concurrent/CompletionStage; (7)
(Ljdk/incubator/http/Response;)Ljava/util/concurrent/CompletionStage;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
13: aload 0
invokedynamic apply(Ljdk/incubator/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/incubator/http/MultiExchange.lambda$9(Ljdk/incubator/http/Response;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; (7)
(Ljdk/incubator/http/Response;Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.handle:(Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
14: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokevirtual java.util.concurrent.CompletableFuture.thenCompose:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
15: astore 1
end local 2 start local 1 16: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
2 3 1 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
16 17 1 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
9 10 2 e Ljava/io/IOException;
11 16 2 exch Ljdk/incubator/http/Exchange<TT;>;
Exception table:
from to target type
6 7 8 Class java.io.IOException
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
private java.util.concurrent.CompletableFuture<jdk.incubator.http.Response> getExceptionalCF(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, 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.incubator.http.MultiExchange.cancelled:Z
ifeq 6
aload 1
instanceof java.io.IOException
ifeq 6
4: new jdk.incubator.http.HttpTimeoutException
dup
ldc "request timed out"
invokespecial jdk.incubator.http.HttpTimeoutException.<init>:(Ljava/lang/String;)V
astore 1
5: goto 20
StackMap locals:
StackMap stack:
6: aload 1
instanceof jdk.incubator.http.internal.common.ConnectionExpiredException
ifeq 20
7: aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ifnull 8
aload 0
aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
putfield jdk.incubator.http.MultiExchange.retryCause:Ljava/lang/Throwable;
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.MultiExchange.expiredOnce:Z
ifne 15
9: getstatic jdk.incubator.http.MultiExchange.DEBUG_LOGGER:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
10: ldc "MultiExchange: ConnectionExpiredException (async): retrying..."
11: aload 1
12: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
13: aload 0
iconst_1
putfield jdk.incubator.http.MultiExchange.expiredOnce:Z
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.MultiExchange.DEBUG_LOGGER:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
16: ldc "MultiExchange: ConnectionExpiredException (async): already retried once."
17: aload 1
18: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
19: aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ifnull 20
aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
20: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 21 1 t Ljava/lang/Throwable;
Signature: (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
MethodParameters:
Name Flags
t
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 java.util.concurrent.CompletionStage lambda$2(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.incubator.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/incubator/http/MultiExchange<TU;TT;>;
0 1 1 v Ljava/lang/Void;
private java.util.concurrent.CompletionStage lambda$3(jdk.incubator.http.Response);
descriptor: (Ljdk/incubator/http/Response;)Ljava/util/concurrent/CompletionStage;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.http.MultiExchange.getExchange:()Ljdk/incubator/http/Exchange;
astore 2
start local 2 1: aload 2
aload 0
getfield jdk.incubator.http.MultiExchange.responseHandler:Ljdk/incubator/http/HttpResponse$BodyHandler;
invokevirtual jdk.incubator.http.Exchange.readBodyAsync:(Ljdk/incubator/http/HttpResponse$BodyHandler;)Ljava/util/concurrent/CompletableFuture;
2: aload 0
aload 1
aload 2
invokedynamic apply(Ljdk/incubator/http/MultiExchange;Ljdk/incubator/http/Response;Ljdk/incubator/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/incubator/http/MultiExchange.lambda$4(Ljdk/incubator/http/Response;Ljdk/incubator/http/Exchange;Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse; (7)
(Ljava/lang/Object;)Ljdk/incubator/http/HttpResponse;
invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 4 1 r Ljdk/incubator/http/Response;
1 4 2 exch Ljdk/incubator/http/Exchange<TT;>;
private jdk.incubator.http.HttpResponse lambda$5(jdk.incubator.http.HttpResponse);
descriptor: (Ljdk/incubator/http/HttpResponse;)Ljdk/incubator/http/HttpResponse;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.MultiExchange.multiResponseSubscriber:Ljdk/incubator/http/HttpResponse$MultiSubscriber;
aload 1
invokeinterface jdk.incubator.http.HttpResponse$MultiSubscriber.onResponse:(Ljdk/incubator/http/HttpResponse;)V
1: aload 0
getfield jdk.incubator.http.MultiExchange.pushGroup:Ljdk/incubator/http/PushGroup;
iconst_1
invokevirtual jdk.incubator.http.PushGroup.noMorePushes:(Z)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 3 1 b Ljdk/incubator/http/HttpResponse<TT;>;
private static java.lang.Void lambda$6();
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 java.util.concurrent.CompletionStage lambda$7(jdk.incubator.http.Exchange, jdk.incubator.http.Response);
descriptor: (Ljdk/incubator/http/Exchange;Ljdk/incubator/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.incubator.http.MultiExchange.responseFilters:(Ljdk/incubator/http/Response;)Ljdk/incubator/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.incubator.http.internal.common.MinimalFuture.failedFuture:(Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 4 start local 3 4: StackMap locals: jdk.incubator.http.HttpRequestImpl
StackMap stack:
aload 3
ifnonnull 8
5: aload 0
getfield jdk.incubator.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.incubator.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.incubator.http.internal.common.Log.logError:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
areturn
8: StackMap locals:
StackMap stack:
aload 0
9: new jdk.incubator.http.HttpResponseImpl
dup
aload 0
getfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
aload 2
aload 0
getfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
aconst_null
aload 1
invokespecial jdk.incubator.http.HttpResponseImpl.<init>:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpResponse;Ljava/lang/Object;Ljdk/incubator/http/Exchange;)V
10: putfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
11: aload 1
invokevirtual jdk.incubator.http.Exchange.ignoreBody:()Ljava/util/concurrent/CompletableFuture;
aload 0
aload 3
invokedynamic apply(Ljdk/incubator/http/MultiExchange;Ljdk/incubator/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/incubator/http/MultiExchange.lambda$8(Ljdk/incubator/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/incubator/http/MultiExchange<TU;TT;>;
0 14 2 response Ljdk/incubator/http/Response;
1 2 3 newrequest Ljdk/incubator/http/HttpRequestImpl;
4 14 3 newrequest Ljdk/incubator/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$9(jdk.incubator.http.Response, java.lang.Throwable);
descriptor: (Ljdk/incubator/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.incubator.http.MultiExchange.cancelTimer:()V
1: aload 2
ifnonnull 4
2: getstatic jdk.incubator.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.incubator.http.internal.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/incubator/http/internal/common/MinimalFuture;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.incubator.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.incubator.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/incubator/http/MultiExchange<TU;TT;>;
0 8 1 response Ljdk/incubator/http/Response;
0 8 2 ex Ljava/lang/Throwable;
5 8 3 errorCF Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
private jdk.incubator.http.HttpResponse lambda$4(jdk.incubator.http.Response, jdk.incubator.http.Exchange, java.lang.Object);
descriptor: (Ljdk/incubator/http/Response;Ljdk/incubator/http/Exchange;Ljava/lang/Object;)Ljdk/incubator/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.incubator.http.HttpResponseImpl
dup
aload 0
getfield jdk.incubator.http.MultiExchange.userRequest:Ljdk/incubator/http/HttpRequest;
aload 1
aload 0
getfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
aload 3
aload 2
invokespecial jdk.incubator.http.HttpResponseImpl.<init>:(Ljdk/incubator/http/HttpRequest;Ljdk/incubator/http/Response;Ljdk/incubator/http/HttpResponse;Ljava/lang/Object;Ljdk/incubator/http/Exchange;)V
2: putfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
3: aload 0
getfield jdk.incubator.http.MultiExchange.response:Ljdk/incubator/http/HttpResponse;
areturn
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 4 3 body TT;
private java.util.concurrent.CompletableFuture lambda$8(jdk.incubator.http.HttpRequestImpl, java.lang.Void, java.lang.Throwable);
descriptor: (Ljdk/incubator/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 1
putfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
1: aload 0
iconst_0
putfield jdk.incubator.http.MultiExchange.expiredOnce:Z
2: aload 0
new jdk.incubator.http.Exchange
dup
aload 0
getfield jdk.incubator.http.MultiExchange.currentreq:Ljdk/incubator/http/HttpRequestImpl;
aload 0
aload 0
getfield jdk.incubator.http.MultiExchange.acc:Ljava/security/AccessControlContext;
invokespecial jdk.incubator.http.Exchange.<init>:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/MultiExchange;Ljava/security/AccessControlContext;)V
invokevirtual jdk.incubator.http.MultiExchange.setExchange:(Ljdk/incubator/http/Exchange;)V
3: aload 0
invokevirtual jdk.incubator.http.MultiExchange.responseAsyncImpl:()Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/MultiExchange<TU;TT;>;
0 4 2 r Ljava/lang/Void;
0 4 3 t Ljava/lang/Throwable;
}
Signature: <U:Ljava/lang/Object;T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "MultiExchange.java"
NestMembers:
jdk.incubator.http.MultiExchange$TimedEvent
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
AuthInfo = jdk.incubator.http.AuthenticationFilter$AuthInfo of jdk.incubator.http.AuthenticationFilter
public final Version = jdk.incubator.http.HttpClient$Version of jdk.incubator.http.HttpClient
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
abstract UntrustedBodyHandler = jdk.incubator.http.HttpResponse$UntrustedBodyHandler of jdk.incubator.http.HttpResponse
TimedEvent = jdk.incubator.http.MultiExchange$TimedEvent of jdk.incubator.http.MultiExchange