class jdk.incubator.http.Http1Exchange<T> extends jdk.incubator.http.ExchangeImpl<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.Http1Exchange
super_class: jdk.incubator.http.ExchangeImpl
{
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
final java.lang.System$Logger debug;
descriptor: Ljava/lang/System$Logger;
flags: (0x0010) ACC_FINAL
private static final java.lang.System$Logger DEBUG_LOGGER;
descriptor: Ljava/lang/System$Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final jdk.incubator.http.HttpRequestImpl request;
descriptor: Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.Http1Request requestAction;
descriptor: Ljdk/incubator/http/Http1Request;
flags: (0x0010) ACC_FINAL
private volatile jdk.incubator.http.Http1Response<T> response;
descriptor: Ljdk/incubator/http/Http1Response;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljdk/incubator/http/Http1Response<TT;>;
final jdk.incubator.http.HttpConnection connection;
descriptor: Ljdk/incubator/http/HttpConnection;
flags: (0x0010) ACC_FINAL
final jdk.incubator.http.HttpClientImpl client;
descriptor: Ljdk/incubator/http/HttpClientImpl;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0010) ACC_FINAL
private final jdk.incubator.http.Http1AsyncReceiver asyncReceiver;
descriptor: Ljdk/incubator/http/Http1AsyncReceiver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Throwable failed;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<java.util.concurrent.CompletableFuture<?>> operations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/concurrent/CompletableFuture<*>;>;
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.util.concurrent.ConcurrentLinkedDeque<jdk.incubator.http.Http1Exchange$DataPair> outgoing;
descriptor: Ljava/util/concurrent/ConcurrentLinkedDeque;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentLinkedDeque<Ljdk/incubator/http/Http1Exchange$DataPair;>;
private final jdk.incubator.http.Http1Exchange<T>.Http1Publisher writePublisher;
descriptor: Ljdk/incubator/http/Http1Exchange$Http1Publisher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/incubator/http/Http1Exchange<TT;>.Http1Publisher;
private volatile java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> ;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;
private volatile java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> bodySentCF;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;
private volatile jdk.incubator.http.Http1Exchange$Http1BodySubscriber bodySubscriber;
descriptor: Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private jdk.incubator.http.Http1Exchange$State state;
descriptor: Ljdk/incubator/http/Http1Exchange$State;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/incubator/http/Http1Exchange$State;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$incubator$http$Http1Exchange$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/incubator/http/Http1Exchange;
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.Http1Exchange.$assertionsDisabled:Z
3: getstatic jdk.incubator.http.internal.common.Utils.DEBUG:Z
putstatic jdk.incubator.http.Http1Exchange.DEBUG:Z
4: ldc "Http1Exchange"
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.Http1Exchange.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
5: putstatic jdk.incubator.http.Http1Exchange.DEBUG_LOGGER:Ljava/lang/System$Logger;
6: return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "HTTP/1.1 "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
jdk.incubator.http.HttpRequestImpl request();
descriptor: ()Ljdk/incubator/http/HttpRequestImpl;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
void <init>(jdk.incubator.http.Exchange<T>, jdk.incubator.http.HttpConnection);
descriptor: (Ljdk/incubator/http/Exchange;Ljdk/incubator/http/HttpConnection;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial jdk.incubator.http.ExchangeImpl.<init>:(Ljdk/incubator/http/Exchange;)V
1: aload 0
aload 0
invokedynamic get(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.dbgString()Ljava/lang/String; (5)
()Ljava/lang/String;
getstatic jdk.incubator.http.Http1Exchange.DEBUG:Z
invokestatic jdk.incubator.http.internal.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljava/lang/System$Logger;
putfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
3: aload 0
new java.util.concurrent.ConcurrentLinkedDeque
dup
invokespecial java.util.concurrent.ConcurrentLinkedDeque.<init>:()V
putfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
4: aload 0
new jdk.incubator.http.Http1Exchange$Http1Publisher
dup
aload 0
invokespecial jdk.incubator.http.Http1Exchange$Http1Publisher.<init>:(Ljdk/incubator/http/Http1Exchange;)V
putfield jdk.incubator.http.Http1Exchange.writePublisher:Ljdk/incubator/http/Http1Exchange$Http1Publisher;
5: aload 0
new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
putfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
6: aload 0
new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
putfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
7: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.INITIAL:Ljdk/incubator/http/Http1Exchange$State;
putfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
8: aload 0
aload 1
invokevirtual jdk.incubator.http.Exchange.request:()Ljdk/incubator/http/HttpRequestImpl;
putfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
9: aload 0
aload 1
invokevirtual jdk.incubator.http.Exchange.client:()Ljdk/incubator/http/HttpClientImpl;
putfield jdk.incubator.http.Http1Exchange.client:Ljdk/incubator/http/HttpClientImpl;
10: aload 0
aload 1
invokevirtual jdk.incubator.http.Exchange.executor:()Ljava/util/concurrent/Executor;
putfield jdk.incubator.http.Http1Exchange.executor:Ljava/util/concurrent/Executor;
11: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
12: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
aload 0
getfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
aload 0
getfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 2
ifnull 17
15: aload 0
aload 2
putfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
16: goto 19
17: StackMap locals: jdk.incubator.http.Http1Exchange jdk.incubator.http.Exchange jdk.incubator.http.HttpConnection
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.getAddress:()Ljava/net/InetSocketAddress;
astore 3
start local 3 18: aload 0
aload 3
aload 0
getfield jdk.incubator.http.Http1Exchange.client:Ljdk/incubator/http/HttpClientImpl;
aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
getstatic jdk.incubator.http.HttpClient$Version.HTTP_1_1:Ljdk/incubator/http/HttpClient$Version;
invokestatic jdk.incubator.http.HttpConnection.getConnection:(Ljava/net/InetSocketAddress;Ljdk/incubator/http/HttpClientImpl;Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/HttpClient$Version;)Ljdk/incubator/http/HttpConnection;
putfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
end local 3 19: StackMap locals:
StackMap stack:
aload 0
new jdk.incubator.http.Http1Request
dup
aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
aload 0
invokespecial jdk.incubator.http.Http1Request.<init>:(Ljdk/incubator/http/HttpRequestImpl;Ljdk/incubator/http/Http1Exchange;)V
putfield jdk.incubator.http.Http1Exchange.requestAction:Ljdk/incubator/http/Http1Request;
20: aload 0
new jdk.incubator.http.Http1AsyncReceiver
dup
aload 0
getfield jdk.incubator.http.Http1Exchange.executor:Ljava/util/concurrent/Executor;
aload 0
invokespecial jdk.incubator.http.Http1AsyncReceiver.<init>:(Ljava/util/concurrent/Executor;Ljdk/incubator/http/Http1Exchange;)V
putfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
21: aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
new jdk.incubator.http.Http1Exchange$InitialErrorReceiver
dup
aload 0
invokespecial jdk.incubator.http.Http1Exchange$InitialErrorReceiver.<init>:(Ljdk/incubator/http/Http1Exchange;)V
invokevirtual jdk.incubator.http.Http1AsyncReceiver.subscribe:(Ljdk/incubator/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 23 1 exchange Ljdk/incubator/http/Exchange<TT;>;
0 23 2 connection Ljdk/incubator/http/HttpConnection;
18 19 3 addr Ljava/net/InetSocketAddress;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/incubator/http/Exchange<TT;>;Ljdk/incubator/http/HttpConnection;)V
MethodParameters:
Name Flags
exchange
connection
jdk.incubator.http.HttpConnection connection();
descriptor: ()Ljdk/incubator/http/HttpConnection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private void connectFlows(jdk.incubator.http.HttpConnection);
descriptor: (Ljdk/incubator/http/HttpConnection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.incubator.http.HttpConnection.getConnectionFlow:()Ljdk/incubator/http/internal/common/FlowTube;
astore 2
start local 2 1: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "%s connecting flows"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 2
aload 0
getfield jdk.incubator.http.Http1Exchange.writePublisher:Ljdk/incubator/http/Http1Exchange$Http1Publisher;
3: aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
invokevirtual jdk.incubator.http.Http1AsyncReceiver.subscriber:()Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;
4: invokeinterface jdk.incubator.http.internal.common.FlowTube.connectFlows:(Ljdk/incubator/http/internal/common/FlowTube$TubePublisher;Ljdk/incubator/http/internal/common/FlowTube$TubeSubscriber;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 6 1 connection Ljdk/incubator/http/HttpConnection;
1 6 2 tube Ljdk/incubator/http/internal/common/FlowTube;
MethodParameters:
Name Flags
connection
java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> sendHeadersAsync();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "Sending headers only"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
ifnonnull 3
2: aload 0
new jdk.incubator.http.Http1Response
dup
aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
aload 0
aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
invokespecial jdk.incubator.http.Http1Response.<init>:(Ljdk/incubator/http/HttpConnection;Ljdk/incubator/http/Http1Exchange;Ljdk/incubator/http/Http1AsyncReceiver;)V
putfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "response created in advance"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
4: aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
iconst_1
invokevirtual jdk.incubator.http.Http1AsyncReceiver.setRetryOnError:(Z)V
5: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.connected:()Z
ifne 14
6: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "initiating connect async"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
7: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.connectAsync:()Ljava/util/concurrent/CompletableFuture;
astore 1
start local 1 8: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
9: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 2
monitorexit
11: goto 16
StackMap locals: jdk.incubator.http.Http1Exchange java.util.concurrent.CompletableFuture java.lang.Object
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
end local 1 14: StackMap locals:
StackMap stack:
new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
astore 1
start local 1 15: aload 1
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
16: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 1
17: aload 0
invokedynamic apply(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.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;
18: aload 0
invokedynamic apply(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.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;
19: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
8 14 1 connectCF Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
15 20 1 connectCF Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
Exception table:
from to target type
9 11 12 any
12 13 12 any
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;
java.util.concurrent.CompletableFuture<jdk.incubator.http.ExchangeImpl<T>> sendBodyAsync();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.http.Http1Exchange.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.Http1Exchange.requestAction:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.continueRequest:()Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
putfield jdk.incubator.http.Http1Exchange.bodySubscriber:Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
2: aload 0
getfield jdk.incubator.http.Http1Exchange.bodySubscriber:Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
ifnonnull 6
3: aload 0
invokestatic jdk.incubator.http.Http1Exchange$Http1BodySubscriber.completeSubscriber:()Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
putfield jdk.incubator.http.Http1Exchange.bodySubscriber:Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
4: aload 0
getstatic jdk.incubator.http.Http1Exchange$Http1BodySubscriber.COMPLETED:Ljava/util/List;
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
5: goto 11
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.bodySubscriber:Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
lconst_1
invokevirtual jdk.incubator.http.Http1Exchange$Http1BodySubscriber.request:(J)V
7: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 1
start local 1 9: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.close:()V
10: aload 0
getfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
9 11 1 t Ljava/lang/Throwable;
Exception table:
from to target type
1 7 8 Class java.lang.Throwable
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/ExchangeImpl<TT;>;>;
java.util.concurrent.CompletableFuture<jdk.incubator.http.Response> getResponseAsync(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
aload 1
invokevirtual jdk.incubator.http.Http1Response.readHeadersAsync:(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
astore 2
start local 2 1: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
2: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
astore 3
start local 3 4: aload 0
aconst_null
putfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
5: aload 4
monitorexit
6: goto 9
end local 3 StackMap locals: jdk.incubator.http.Http1Exchange java.util.concurrent.Executor java.util.concurrent.CompletableFuture top java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 4
monitorexit
8: athrow
start local 3 9: StackMap locals: jdk.incubator.http.Http1Exchange java.util.concurrent.Executor java.util.concurrent.CompletableFuture java.lang.Throwable
StackMap stack:
aload 3
ifnull 25
10: ldc "Http1Exchange: request [{0}/timeout={1}ms]\n\tCompleting exceptionally with {2}\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
11: aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
aastore
dup
iconst_1
12: aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.timeout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 17
13: aload 0
getfield jdk.incubator.http.Http1Exchange.request: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
invokevirtual java.time.Duration.getSeconds:()J
ldc 1000
lmul
14: aload 0
getfield jdk.incubator.http.Http1Exchange.request: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
invokevirtual java.time.Duration.getNano:()I
ldc 1000000
idiv
i2l
15: ladd
16: goto 18
StackMap locals: jdk.incubator.http.Http1Exchange java.util.concurrent.Executor java.util.concurrent.CompletableFuture java.lang.Throwable
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
17: ldc -1
18: StackMap locals: jdk.incubator.http.Http1Exchange java.util.concurrent.Executor java.util.concurrent.CompletableFuture java.lang.Throwable
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int long
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
19: aload 3
aastore
20: invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
21: aload 2
aload 3
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
istore 4
start local 4 22: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
23: iload 4
aload 3
invokedynamic get(ZLjava/lang/Throwable;)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/Http1Exchange.lambda$4(ZLjava/lang/Throwable;)Ljava/lang/String; (6)
()Ljava/lang/String;
24: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
end local 4 25: 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 26 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 26 1 executor Ljava/util/concurrent/Executor;
1 26 2 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
4 7 3 cause Ljava/lang/Throwable;
9 26 3 cause Ljava/lang/Throwable;
22 25 4 acknowledged Z
Exception table:
from to target type
2 6 7 any
7 8 7 any
Signature: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Response;>;
MethodParameters:
Name Flags
executor
java.util.concurrent.CompletableFuture<T> readBodyAsync(jdk.incubator.http.HttpResponse$BodyHandler<T>, boolean, java.util.concurrent.Executor);
descriptor: (Ljdk/incubator/http/HttpResponse$BodyHandler;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
invokevirtual jdk.incubator.http.Http1Response.responseCode:()I
1: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
invokevirtual jdk.incubator.http.Http1Response.responseHeaders:()Ljdk/incubator/http/HttpHeaders;
2: invokeinterface jdk.incubator.http.HttpResponse$BodyHandler.apply:(ILjdk/incubator/http/HttpHeaders;)Ljdk/incubator/http/HttpResponse$BodySubscriber;
astore 4
start local 4 3: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
aload 4
4: iload 2
5: aload 3
6: invokevirtual jdk.incubator.http.Http1Response.readBody:(Ljdk/incubator/http/HttpResponse$BodySubscriber;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
astore 5
start local 5 7: 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 8 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 8 1 handler Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;
0 8 2 returnConnectionToPool Z
0 8 3 executor Ljava/util/concurrent/Executor;
3 8 4 bs Ljdk/incubator/http/HttpResponse$BodySubscriber<TT;>;
7 8 5 bodyCF Ljava/util/concurrent/CompletableFuture<TT;>;
Signature: (Ljdk/incubator/http/HttpResponse$BodyHandler<TT;>;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<TT;>;
MethodParameters:
Name Flags
handler
returnConnectionToPool
executor
java.util.concurrent.CompletableFuture<java.lang.Void> ignoreBody();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
aload 0
getfield jdk.incubator.http.Http1Exchange.executor:Ljava/util/concurrent/Executor;
invokevirtual jdk.incubator.http.Http1Response.ignoreBody:(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
java.nio.ByteBuffer drainLeftOverBytes();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
invokevirtual jdk.incubator.http.Http1AsyncReceiver.stop:()V
2: aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
getstatic jdk.incubator.http.internal.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
invokevirtual jdk.incubator.http.Http1AsyncReceiver.drain:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
aload 1
monitorexit
3: areturn
4: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
5: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
void released();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.incubator.http.Http1Response.completed:()V
2: StackMap locals: jdk.incubator.http.Http1Response
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.asyncReceiver:Ljdk/incubator/http/Http1AsyncReceiver;
invokevirtual jdk.incubator.http.Http1AsyncReceiver.clear:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
1 4 1 resp Ljdk/incubator/http/Http1Response<TT;>;
void completed();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.incubator.http.Http1Response.completed:()V
2: StackMap locals: jdk.incubator.http.Http1Response
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
1 3 1 resp Ljdk/incubator/http/Http1Response<TT;>;
void cancel();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new java.io.IOException
dup
ldc "Request cancelled"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
invokevirtual jdk.incubator.http.Http1Exchange.cancelImpl:(Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
void cancel(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.http.Http1Exchange.cancelImpl:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 2 1 cause Ljava/io/IOException;
MethodParameters:
Name Flags
cause
private void cancelImpl(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
3: aload 0
getfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
ifnonnull 5
4: aload 0
aload 1
putfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
5: StackMap locals: java.util.LinkedList int java.lang.Object
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.requestAction:Ljdk/incubator/http/Http1Request;
ifnull 9
aload 0
getfield jdk.incubator.http.Http1Exchange.requestAction:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.finished:()Z
ifeq 9
6: aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
ifnull 9
aload 0
getfield jdk.incubator.http.Http1Exchange.response:Ljdk/incubator/http/Http1Response;
invokevirtual jdk.incubator.http.Http1Response.finished:()Z
ifeq 9
7: aload 4
monitorexit
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.close:()V
10: aload 0
getfield jdk.incubator.http.Http1Exchange.writePublisher:Ljdk/incubator/http/Http1Exchange$Http1Publisher;
getfield jdk.incubator.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.stop:()V
11: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 24
12: ldc "Http1Exchange: request [{0}/timeout={1}ms] no pending operation.\n\tCan''t cancel yet with {2}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
13: aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.uri:()Ljava/net/URI;
aastore
dup
iconst_1
14: aload 0
getfield jdk.incubator.http.Http1Exchange.request:Ljdk/incubator/http/HttpRequestImpl;
invokevirtual jdk.incubator.http.HttpRequestImpl.timeout:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 19
15: aload 0
getfield jdk.incubator.http.Http1Exchange.request: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
invokevirtual java.time.Duration.getSeconds:()J
ldc 1000
lmul
16: aload 0
getfield jdk.incubator.http.Http1Exchange.request: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
invokevirtual java.time.Duration.getNano:()I
ldc 1000000
idiv
i2l
17: ladd
18: goto 20
StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
19: ldc -1
20: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int long
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
21: aload 1
aastore
22: invokestatic jdk.incubator.http.internal.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
23: goto 32
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 30
StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object top java.util.Iterator
StackMap stack:
25: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.CompletableFuture
astore 5
start local 5 26: aload 5
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifne 30
27: aload 2
ifnonnull 28
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
28: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object java.util.concurrent.CompletableFuture java.util.Iterator
StackMap stack:
aload 2
aload 5
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
29: iinc 3 1
end local 5 30: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
31: aload 0
getfield jdk.incubator.http.Http1Exchange.operations:Ljava/util/List;
invokeinterface java.util.List.clear:()V
32: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Throwable java.util.LinkedList int java.lang.Object
StackMap stack:
aload 4
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 4
monitorexit
35: athrow
36: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Http1Exchange.cancel: count="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)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
37: aload 2
ifnull 46
38: aload 0
getfield jdk.incubator.http.Http1Exchange.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
ifeq 40
39: aload 0
getfield jdk.incubator.http.Http1Exchange.executor:Ljava/util/concurrent/Executor;
goto 41
40: StackMap locals:
StackMap stack:
aload 0
invokedynamic execute(Ljdk/incubator/http/Http1Exchange;)Ljava/util/concurrent/Executor;
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/Runnable;)V
jdk/incubator/http/Http1Exchange.runInline(Ljava/lang/Runnable;)V (7)
(Ljava/lang/Runnable;)V
41: StackMap locals:
StackMap stack: java.util.concurrent.Executor
astore 4
start local 4 42: goto 45
43: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 2
invokevirtual java.util.LinkedList.poll:()Ljava/lang/Object;
checkcast java.util.concurrent.CompletableFuture
astore 6
start local 6 44: aload 4
aload 0
aload 6
aload 1
invokedynamic run(Ljdk/incubator/http/Http1Exchange;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Throwable;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/Http1Exchange.lambda$6(Ljava/util/concurrent/CompletableFuture;Ljava/lang/Throwable;)V (7)
()V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
end local 6 45: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 43
end local 4 46: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 47 1 cause Ljava/lang/Throwable;
1 47 2 toComplete Ljava/util/LinkedList<Ljava/util/concurrent/CompletableFuture<*>;>;
2 47 3 count I
26 30 5 cf Ljava/util/concurrent/CompletableFuture<*>;
42 46 4 exec Ljava/util/concurrent/Executor;
44 45 6 cf Ljava/util/concurrent/CompletableFuture<*>;
Exception table:
from to target type
3 8 34 any
9 33 34 any
34 35 34 any
MethodParameters:
Name Flags
cause
private void runInline(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.http.Http1Exchange.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.incubator.http.Http1Exchange.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.isSelectorThread:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.Runnable.run:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 3 1 run Ljava/lang/Runnable;
MethodParameters:
Name Flags
run
boolean isCanceled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
ifnull 2
iconst_1
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
java.lang.Throwable getCancelCause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.incubator.http.Http1Exchange.failed:Ljava/lang/Throwable;
aload 1
monitorexit
2: areturn
3: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
void appendToOutgoing(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new jdk.incubator.http.Http1Exchange$DataPair
dup
aconst_null
aload 1
invokespecial jdk.incubator.http.Http1Exchange$DataPair.<init>:(Ljava/util/List;Ljava/lang/Throwable;)V
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljdk/incubator/http/Http1Exchange$DataPair;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 2 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
void appendToOutgoing(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new jdk.incubator.http.Http1Exchange$DataPair
dup
aload 1
aconst_null
invokespecial jdk.incubator.http.Http1Exchange$DataPair.<init>:(Ljava/util/List;Ljava/lang/Throwable;)V
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljdk/incubator/http/Http1Exchange$DataPair;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 2 1 item Ljava/util/List<Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
item
private void appendToOutgoing(jdk.incubator.http.Http1Exchange$DataPair);
descriptor: (Ljdk/incubator/http/Http1Exchange$DataPair;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
new java.lang.StringBuilder
dup
ldc "appending to outgoing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
1: aload 0
getfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
aload 1
invokevirtual java.util.concurrent.ConcurrentLinkedDeque.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.incubator.http.Http1Exchange.writePublisher:Ljdk/incubator/http/Http1Exchange$Http1Publisher;
getfield jdk.incubator.http.Http1Exchange$Http1Publisher.writeScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 4 1 dp Ljdk/incubator/http/Http1Exchange$DataPair;
MethodParameters:
Name Flags
dp
private boolean hasOutgoing();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
invokevirtual java.util.concurrent.ConcurrentLinkedDeque.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private jdk.incubator.http.Http1Exchange$DataPair getOutgoing();
descriptor: ()Ljdk/incubator/http/Http1Exchange$DataPair;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.client:Ljdk/incubator/http/HttpClientImpl;
invokevirtual jdk.incubator.http.HttpClientImpl.theExecutor:()Ljava/util/concurrent/Executor;
astore 1
start local 1 1: aload 0
getfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
invokevirtual java.util.concurrent.ConcurrentLinkedDeque.pollFirst:()Ljava/lang/Object;
checkcast jdk.incubator.http.Http1Exchange$DataPair
astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.util.concurrent.Executor jdk.incubator.http.Http1Exchange$DataPair
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
5: aload 2
getfield jdk.incubator.http.Http1Exchange$DataPair.throwable:Ljava/lang/Throwable;
ifnull 10
6: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.ERROR:Ljdk/incubator/http/Http1Exchange$State;
putfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
7: aload 1
aload 0
aload 2
invokedynamic run(Ljdk/incubator/http/Http1Exchange;Ljdk/incubator/http/Http1Exchange$DataPair;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/Http1Exchange.lambda$7(Ljdk/incubator/http/Http1Exchange$DataPair;)V (7)
()V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
8: aload 2
aload 3
monitorexit
9: areturn
10: StackMap locals: java.lang.Object
StackMap stack:
invokestatic jdk.incubator.http.Http1Exchange.$SWITCH_TABLE$jdk$incubator$http$Http1Exchange$State:()[I
aload 0
getfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 23
2: 11
3: 15
4: 23
5: 23
6: 23
default: 23
}
11: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.incubator.http.Http1Exchange$State.BODY:Ljdk/incubator/http/Http1Exchange$State;
putfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
12: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "initiating completion of headersSentCF"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
13: aload 0
getfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
aload 0
invokedynamic get(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.lambda$8()Ljdk/incubator/http/ExchangeImpl; (7)
()Ljdk/incubator/http/ExchangeImpl;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeAsync:(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
14: goto 24
15: StackMap locals:
StackMap stack:
aload 2
getfield jdk.incubator.http.Http1Exchange$DataPair.data:Ljava/util/List;
getstatic jdk.incubator.http.Http1Exchange$Http1BodySubscriber.COMPLETED:Ljava/util/List;
if_acmpne 20
16: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.COMPLETING:Ljdk/incubator/http/Http1Exchange$State;
putfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
17: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "initiating completion of bodySentCF"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
18: aload 0
getfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
aload 0
invokedynamic get(Ljdk/incubator/http/Http1Exchange;)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/Http1Exchange.lambda$9()Ljdk/incubator/http/ExchangeImpl; (7)
()Ljdk/incubator/http/ExchangeImpl;
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeAsync:(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
pop
19: goto 24
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "requesting more body from the subscriber"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
21: aload 1
aload 0
invokedynamic run(Ljdk/incubator/http/Http1Exchange;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/incubator/http/Http1Exchange.lambda$10()V (7)
()V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
22: goto 24
23: StackMap locals:
StackMap stack:
getstatic jdk.incubator.http.Http1Exchange.$assertionsDisabled:Z
ifne 24
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected state:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
24: StackMap locals:
StackMap stack:
aload 2
aload 3
monitorexit
25: areturn
26: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
27: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
1 28 1 exec Ljava/util/concurrent/Executor;
2 28 2 dp Ljdk/incubator/http/Http1Exchange$DataPair;
Exception table:
from to target type
5 9 26 any
10 25 26 any
26 27 26 any
java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Http1Exchange"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
static int[] $SWITCH_TABLE$jdk$incubator$http$Http1Exchange$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.incubator.http.Http1Exchange.$SWITCH_TABLE$jdk$incubator$http$Http1Exchange$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.incubator.http.Http1Exchange$State.values:()[Ljdk/incubator/http/Http1Exchange$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.BODY:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.COMPLETED:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.COMPLETING:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.ERROR:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.HEADERS:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.INITIAL:Ljdk/incubator/http/Http1Exchange$State;
invokevirtual jdk.incubator.http.Http1Exchange$State.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic jdk.incubator.http.Http1Exchange.$SWITCH_TABLE$jdk$incubator$http$Http1Exchange$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
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=5, locals=5, args_size=2
start local 0 start local 1 0: new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
astore 2
start local 2 1: aload 0
aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.Http1Exchange.connectFlows:(Ljdk/incubator/http/HttpConnection;)V
2: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "requestAction.headers"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
3: aload 0
getfield jdk.incubator.http.Http1Exchange.requestAction:Ljdk/incubator/http/Http1Request;
invokevirtual jdk.incubator.http.Http1Request.headers:()Ljava/util/List;
astore 3
start local 3 4: aload 0
getfield jdk.incubator.http.Http1Exchange.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
5: aload 0
getstatic jdk.incubator.http.Http1Exchange$State.HEADERS:Ljdk/incubator/http/Http1Exchange$State;
putfield jdk.incubator.http.Http1Exchange.state:Ljdk/incubator/http/Http1Exchange$State;
6: aload 4
monitorexit
7: goto 10
StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Void java.util.concurrent.CompletableFuture java.util.List java.lang.Object
StackMap stack: java.lang.Throwable
8: aload 4
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "setting outgoing with headers"
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
11: getstatic jdk.incubator.http.Http1Exchange.$assertionsDisabled:Z
ifne 12
aload 0
getfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
invokevirtual java.util.concurrent.ConcurrentLinkedDeque.isEmpty:()Z
ifne 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected outgoing:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.Http1Exchange.outgoing:Ljava/util/concurrent/ConcurrentLinkedDeque;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual jdk.incubator.http.Http1Exchange.appendToOutgoing:(Ljava/util/List;)V
13: aload 2
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
14: aload 2
15: areturn
end local 3 16: StackMap locals: jdk.incubator.http.Http1Exchange java.lang.Void java.util.concurrent.CompletableFuture
StackMap stack: java.lang.Throwable
astore 3
start local 3 17: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "Failed to send headers: %s"
aload 3
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
18: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.close:()V
19: aload 2
aload 3
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
20: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 21 1 unused Ljava/lang/Void;
1 21 2 cf Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
4 16 3 data Ljava/util/List<Ljava/nio/ByteBuffer;>;
17 21 3 t Ljava/lang/Throwable;
Exception table:
from to target type
5 7 8 any
8 9 8 any
1 15 16 Class java.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
getfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
0 1 1 unused Ljava/lang/Void;
private static java.lang.String lambda$4(boolean, java.lang.Throwable);
descriptor: (ZLjava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: iload 0
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "completed response with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "response already completed, ignoring "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$6(java.util.concurrent.CompletableFuture, java.lang.Throwable);
descriptor: (Ljava/util/concurrent/CompletableFuture;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 0 0: aload 1
aload 2
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
ifeq 4
1: aload 0
getfield jdk.incubator.http.Http1Exchange.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "completed cf with %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
2: aload 2
aastore
3: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private void lambda$7(jdk.incubator.http.Http1Exchange$DataPair);
descriptor: (Ljdk/incubator/http/Http1Exchange$DataPair;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.connection:Ljdk/incubator/http/HttpConnection;
invokevirtual jdk.incubator.http.HttpConnection.close:()V
1: aload 0
getfield jdk.incubator.http.Http1Exchange.headersSentCF:Ljava/util/concurrent/CompletableFuture;
aload 1
getfield jdk.incubator.http.Http1Exchange$DataPair.throwable:Ljava/lang/Throwable;
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
2: aload 0
getfield jdk.incubator.http.Http1Exchange.bodySentCF:Ljava/util/concurrent/CompletableFuture;
aload 1
getfield jdk.incubator.http.Http1Exchange$DataPair.throwable:Ljava/lang/Throwable;
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private jdk.incubator.http.ExchangeImpl lambda$8();
descriptor: ()Ljdk/incubator/http/ExchangeImpl;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private jdk.incubator.http.ExchangeImpl lambda$9();
descriptor: ()Ljdk/incubator/http/ExchangeImpl;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
private void lambda$10();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Exchange.bodySubscriber:Ljdk/incubator/http/Http1Exchange$Http1BodySubscriber;
lconst_1
invokevirtual jdk.incubator.http.Http1Exchange$Http1BodySubscriber.request:(J)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Exchange<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljdk/incubator/http/ExchangeImpl<TT;>;
SourceFile: "Http1Exchange.java"
NestMembers:
jdk.incubator.http.Http1Exchange$DataPair jdk.incubator.http.Http1Exchange$Http1BodySubscriber jdk.incubator.http.Http1Exchange$Http1BodySubscriber$1 jdk.incubator.http.Http1Exchange$Http1Publisher jdk.incubator.http.Http1Exchange$Http1Publisher$Http1WriteSubscription jdk.incubator.http.Http1Exchange$Http1Publisher$WriteTask jdk.incubator.http.Http1Exchange$InitialErrorReceiver jdk.incubator.http.Http1Exchange$State
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
abstract Http1AsyncDelegate = jdk.incubator.http.Http1AsyncReceiver$Http1AsyncDelegate of jdk.incubator.http.Http1AsyncReceiver
DataPair = jdk.incubator.http.Http1Exchange$DataPair of jdk.incubator.http.Http1Exchange
abstract Http1BodySubscriber = jdk.incubator.http.Http1Exchange$Http1BodySubscriber of jdk.incubator.http.Http1Exchange
final Http1Publisher = jdk.incubator.http.Http1Exchange$Http1Publisher of jdk.incubator.http.Http1Exchange
final InitialErrorReceiver = jdk.incubator.http.Http1Exchange$InitialErrorReceiver of jdk.incubator.http.Http1Exchange
final State = jdk.incubator.http.Http1Exchange$State of jdk.incubator.http.Http1Exchange
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 BodySubscriber = jdk.incubator.http.HttpResponse$BodySubscriber of jdk.incubator.http.HttpResponse
public abstract TubePublisher = jdk.incubator.http.internal.common.FlowTube$TubePublisher of jdk.incubator.http.internal.common.FlowTube
public abstract TubeSubscriber = jdk.incubator.http.internal.common.FlowTube$TubeSubscriber of jdk.incubator.http.internal.common.FlowTube