class jdk.internal.net.http.Http1Response<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.Http1Response
super_class: java.lang.Object
{
private volatile jdk.internal.net.http.ResponseContent content;
descriptor: Ljdk/internal/net/http/ResponseContent;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final jdk.internal.net.http.HttpRequestImpl request;
descriptor: Ljdk/internal/net/http/HttpRequestImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.internal.net.http.Response response;
descriptor: Ljdk/internal/net/http/Response;
flags: (0x0002) ACC_PRIVATE
private final jdk.internal.net.http.HttpConnection connection;
descriptor: Ljdk/internal/net/http/HttpConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.net.http.HttpHeaders ;
descriptor: Ljava/net/http/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
private int responseCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final jdk.internal.net.http.Http1Exchange<T> exchange;
descriptor: Ljdk/internal/net/http/Http1Exchange;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/Http1Exchange<TT;>;
private boolean return2Cache;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final jdk.internal.net.http.Http1Response<T>.HeadersReader ;
descriptor: Ljdk/internal/net/http/Http1Response$HeadersReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/Http1Response<TT;>.HeadersReader;
private final jdk.internal.net.http.Http1Response<T>.BodyReader bodyReader;
descriptor: Ljdk/internal/net/http/Http1Response$BodyReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/net/http/Http1Response<TT;>.BodyReader;
private final jdk.internal.net.http.Http1AsyncReceiver asyncReceiver;
descriptor: Ljdk/internal/net/http/Http1AsyncReceiver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.io.EOFException eof;
descriptor: Ljava/io/EOFException;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile jdk.internal.net.http.ResponseContent$BodyParser bodyParser;
descriptor: Ljdk/internal/net/http/ResponseContent$BodyParser;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final int MAX_IGNORE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private volatile jdk.internal.net.http.Http1Response$State readProgress;
descriptor: Ljdk/internal/net/http/Http1Response$State;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
static final java.util.concurrent.atomic.AtomicLong responseCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0018) ACC_STATIC, ACC_FINAL
final long id;
descriptor: J
flags: (0x0010) ACC_FINAL
private jdk.internal.net.http.Http1HeaderParser ;
descriptor: Ljdk/internal/net/http/Http1HeaderParser;
flags: (0x0002) ACC_PRIVATE
java.lang.String dbgTag;
descriptor: Ljava/lang/String;
flags: (0x0000)
private volatile boolean firstTimeAround;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean finished;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final java.util.concurrent.Flow$Subscription NOP;
descriptor: Ljava/util/concurrent/Flow$Subscription;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$internal$net$http$Http1Response$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/internal/net/http/Http1Response;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
3: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putstatic jdk.internal.net.http.Http1Response.responseCount:Ljava/util/concurrent/atomic/AtomicLong;
4: new jdk.internal.net.http.Http1Response$1
dup
invokespecial jdk.internal.net.http.Http1Response$1.<init>:()V
putstatic jdk.internal.net.http.Http1Response.NOP:Ljava/util/concurrent/Flow$Subscription;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.internal.net.http.HttpConnection, jdk.internal.net.http.Http1Exchange<T>, jdk.internal.net.http.Http1AsyncReceiver);
descriptor: (Ljdk/internal/net/http/HttpConnection;Ljdk/internal/net/http/Http1Exchange;Ljdk/internal/net/http/Http1AsyncReceiver;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.internal.net.http.Http1Response$State.INITIAL:Ljdk/internal/net/http/Http1Response$State;
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
2: aload 0
aload 0
invokedynamic get(Ljdk/internal/net/http/Http1Response;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/net/http/Http1Response.dbgString()Ljava/lang/String; (7)
()Ljava/lang/String;
getstatic jdk.internal.net.http.common.Utils.DEBUG:Z
invokestatic jdk.internal.net.http.common.Utils.getDebugLogger:(Ljava/util/function/Supplier;Z)Ljdk/internal/net/http/common/Logger;
putfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
3: aload 0
getstatic jdk.internal.net.http.Http1Response.responseCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
putfield jdk.internal.net.http.Http1Response.id:J
4: aload 0
iconst_1
putfield jdk.internal.net.http.Http1Response.firstTimeAround:Z
5: aload 0
getstatic jdk.internal.net.http.Http1Response$State.INITIAL:Ljdk/internal/net/http/Http1Response$State;
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
6: aload 0
aload 2
invokevirtual jdk.internal.net.http.Http1Exchange.request:()Ljdk/internal/net/http/HttpRequestImpl;
putfield jdk.internal.net.http.Http1Response.request:Ljdk/internal/net/http/HttpRequestImpl;
7: aload 0
aload 2
putfield jdk.internal.net.http.Http1Response.exchange:Ljdk/internal/net/http/Http1Exchange;
8: aload 0
aload 1
putfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
9: aload 0
aload 3
putfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
10: aload 0
new jdk.internal.net.http.Http1Response$HeadersReader
dup
aload 0
aload 0
invokedynamic accept(Ljdk/internal/net/http/Http1Response;)Ljava/util/function/Consumer;
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;)V
jdk/internal/net/http/Http1Response.advance(Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$State; (7)
(Ljdk/internal/net/http/Http1Response$State;)V
invokespecial jdk.internal.net.http.Http1Response$HeadersReader.<init>:(Ljdk/internal/net/http/Http1Response;Ljava/util/function/Consumer;)V
putfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
11: aload 0
new jdk.internal.net.http.Http1Response$BodyReader
dup
aload 0
aload 0
invokedynamic accept(Ljdk/internal/net/http/Http1Response;)Ljava/util/function/Consumer;
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;)V
jdk/internal/net/http/Http1Response.advance(Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$State; (7)
(Ljdk/internal/net/http/Http1Response$State;)V
invokespecial jdk.internal.net.http.Http1Response$BodyReader.<init>:(Ljdk/internal/net/http/Http1Response;Ljava/util/function/Consumer;)V
putfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
12: aload 0
new jdk.internal.net.http.Http1HeaderParser
dup
invokespecial jdk.internal.net.http.Http1HeaderParser.<init>:()V
putfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
13: aload 0
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
14: aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
aload 0
getfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.start:(Ljdk/internal/net/http/Http1HeaderParser;)V
15: aload 3
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.subscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 17 1 conn Ljdk/internal/net/http/HttpConnection;
0 17 2 exchange Ljdk/internal/net/http/Http1Exchange<TT;>;
0 17 3 asyncReceiver Ljdk/internal/net/http/Http1AsyncReceiver;
Signature: (Ljdk/internal/net/http/HttpConnection;Ljdk/internal/net/http/Http1Exchange<TT;>;Ljdk/internal/net/http/Http1AsyncReceiver;)V
MethodParameters:
Name Flags
conn
exchange
asyncReceiver
private java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response.dbgTag:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 7
2: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
getfield jdk.internal.net.http.HttpConnection.dbgTag:Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 6
4: aload 0
new java.lang.StringBuilder
dup
ldc "Http1Response(id="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Response.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
dup
astore 1
putfield jdk.internal.net.http.Http1Response.dbgTag:Ljava/lang/String;
5: goto 7
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Http1Response(id="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Response.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 2 7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/Http1Response<TT;>;
1 8 1 dbg Ljava/lang/String;
3 7 2 cdbg Ljava/lang/String;
public java.util.concurrent.CompletableFuture<jdk.internal.net.http.Response> readHeadersAsync(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 4
1: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Reading Headers: (remaining: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.remaining:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.firstTimeAround:Z
ifeq 8
5: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
ldc "First time around"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.net.http.Http1Response.firstTimeAround:Z
7: goto 15
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.unsubscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
9: aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
invokevirtual jdk.internal.net.http.Http1Response$BodyReader.reset:()V
10: aload 0
new jdk.internal.net.http.Http1HeaderParser
dup
invokespecial jdk.internal.net.http.Http1HeaderParser.<init>:()V
putfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
11: aload 0
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
12: aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.reset:()V
13: aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
aload 0
getfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.start:(Ljdk/internal/net/http/Http1HeaderParser;)V
14: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.subscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.completion:()Ljava/util/concurrent/CompletableFuture;
astore 2
start local 2 16: getstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
ifne 17
aload 2
ifnonnull 17
new java.lang.AssertionError
dup
ldc "parsing not started"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 24
18: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
ldc "headersReader is %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
19: aload 2
ifnonnull 20
ldc "not yet started"
goto 22
20: StackMap locals: jdk.internal.net.http.Http1Response java.util.concurrent.Executor java.util.concurrent.CompletableFuture
StackMap stack: jdk.internal.net.http.common.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
aload 2
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifeq 21
ldc "already completed"
goto 22
21: StackMap locals: jdk.internal.net.http.Http1Response java.util.concurrent.Executor java.util.concurrent.CompletableFuture
StackMap stack: jdk.internal.net.http.common.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
ldc "not yet completed"
StackMap locals: jdk.internal.net.http.Http1Response java.util.concurrent.Executor java.util.concurrent.CompletableFuture
StackMap stack: jdk.internal.net.http.common.Logger java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
22: aastore
23: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
aload 0
invokedynamic apply(Ljdk/internal/net/http/Http1Response;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/net/http/Http1Response.lambda$3(Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Response; (7)
(Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Response;
astore 3
start local 3 25: aload 1
ifnull 27
26: aload 2
aload 3
aload 1
invokevirtual java.util.concurrent.CompletableFuture.thenApplyAsync:(Ljava/util/function/Function;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
areturn
27: StackMap locals: java.util.function.Function
StackMap stack:
aload 2
aload 3
invokevirtual java.util.concurrent.CompletableFuture.thenApply:(Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 28 1 executor Ljava/util/concurrent/Executor;
16 28 2 cf Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
25 28 3 lambda Ljava/util/function/Function<Ljdk/internal/net/http/Http1Response$State;Ljdk/internal/net/http/Response;>;
Signature: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Response;>;
MethodParameters:
Name Flags
executor
synchronized void completed();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.net.http.Http1Response.finished:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/Http1Response<TT;>;
synchronized boolean finished();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response.finished:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response<TT;>;
long fixupContentLen(long);
descriptor: (J)J
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1Response.request:Ljdk/internal/net/http/HttpRequestImpl;
invokevirtual jdk.internal.net.http.HttpRequestImpl.method:()Ljava/lang/String;
ldc "HEAD"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 1
aload 0
getfield jdk.internal.net.http.Http1Response.responseCode:I
sipush 304
if_icmpne 2
1: StackMap locals:
StackMap stack:
lconst_0
lreturn
2: StackMap locals:
StackMap stack:
lload 1
ldc -1
lcmp
ifne 9
3: aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
ldc "Transfer-encoding"
invokevirtual java.net.http.HttpHeaders.firstValue:(Ljava/lang/String;)Ljava/util/Optional;
ldc ""
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
4: ldc "chunked"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: ldc -1
lreturn
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.responseCode:I
bipush 101
if_icmpne 8
7: lconst_0
lreturn
8: StackMap locals:
StackMap stack:
ldc -2
lreturn
9: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 10 1 clen J
MethodParameters:
Name Flags
clen
public java.util.concurrent.CompletableFuture<java.lang.Void> ignoreBody(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
ldc "Content-Length"
invokevirtual java.net.http.HttpHeaders.firstValueAsLong:(Ljava/lang/String;)Ljava/util/OptionalLong;
ldc -1
invokevirtual java.util.OptionalLong.orElse:(J)J
l2i
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 2
iload 2
sipush 1024
if_icmple 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.close:()V
3: aconst_null
invokestatic jdk.internal.net.http.common.MinimalFuture.completedFuture:(Ljava/lang/Object;)Ljdk/internal/net/http/common/MinimalFuture;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic java.net.http.HttpResponse$BodySubscribers.discarding:()Ljava/net/http/HttpResponse$BodySubscriber;
iconst_1
aload 1
invokevirtual jdk.internal.net.http.Http1Response.readBody:(Ljava/net/http/HttpResponse$BodySubscriber;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 5 1 executor Ljava/util/concurrent/Executor;
1 5 2 clen I
Signature: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<Ljava/lang/Void;>;
MethodParameters:
Name Flags
executor
public <U> java.util.concurrent.CompletableFuture<U> readBody(java.net.http.HttpResponse$BodySubscriber<U>, boolean, java.util.concurrent.Executor);
descriptor: (Ljava/net/http/HttpResponse$BodySubscriber;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
putfield jdk.internal.net.http.Http1Response.return2Cache:Z
1: new jdk.internal.net.http.Http1Response$Http1BodySubscriber
dup
aload 1
invokespecial jdk.internal.net.http.Http1Response$Http1BodySubscriber.<init>:(Ljava/net/http/HttpResponse$BodySubscriber;)V
astore 4
start local 4 2: new jdk.internal.net.http.common.MinimalFuture
dup
invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
astore 5
start local 5 3: aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
ldc "Content-Length"
invokevirtual java.net.http.HttpHeaders.firstValueAsLong:(Ljava/lang/String;)Ljava/util/OptionalLong;
ldc -1
invokevirtual java.util.OptionalLong.orElse:(J)J
lstore 6
start local 6 4: aload 0
lload 6
invokevirtual jdk.internal.net.http.Http1Response.fixupContentLen:(J)J
lstore 8
start local 8 5: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.unsubscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
6: aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.reset:()V
7: new jdk.internal.net.http.Http1Response$ClientRefCountTracker
dup
aload 0
invokespecial jdk.internal.net.http.Http1Response$ClientRefCountTracker.<init>:(Ljdk/internal/net/http/Http1Response;)V
astore 10
start local 10 8: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.reference:()J
pop2
9: aload 3
aload 0
lload 8
aload 4
aload 5
aload 10
invokedynamic run(Ljdk/internal/net/http/Http1Response;JLjdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/net/http/Http1Response.lambda$4(JLjdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;)V (7)
()V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
10: aload 1
invokeinterface java.net.http.HttpResponse$BodySubscriber.getBody:()Ljava/util/concurrent/CompletionStage;
aload 5
invokedynamic accept(Ljava/util/concurrent/CompletableFuture;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
jdk/internal/net/http/Http1Response.lambda$8(Ljava/util/concurrent/CompletableFuture;Ljava/lang/Object;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.CompletionStage.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
pop
11: goto 16
StackMap locals: jdk.internal.net.http.Http1Response java.net.http.HttpResponse$BodySubscriber int java.util.concurrent.Executor jdk.internal.net.http.Http1Response$Http1BodySubscriber java.util.concurrent.CompletableFuture long long jdk.internal.net.http.Http1Response$ClientRefCountTracker
StackMap stack: java.lang.Throwable
12: astore 11
start local 11 13: aload 5
aload 11
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
14: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
iconst_0
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.setRetryOnError:(Z)V
15: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 11
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
end local 11 16: StackMap locals:
StackMap stack:
aload 5
aload 10
invokedynamic accept(Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
jdk/internal/net/http/Http1Response.lambda$9(Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;Ljava/lang/Object;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Object;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 10 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 17 1 p Ljava/net/http/HttpResponse$BodySubscriber<TU;>;
0 17 2 return2Cache Z
0 17 3 executor Ljava/util/concurrent/Executor;
2 17 4 subscriber Ljdk/internal/net/http/Http1Response$Http1BodySubscriber<TU;>;
3 17 5 cf Ljava/util/concurrent/CompletableFuture<TU;>;
4 17 6 clen0 J
5 17 8 clen J
8 17 10 refCountTracker Ljdk/internal/net/http/Http1Response<TT;>.ClientRefCountTracker;
13 16 11 t Ljava/lang/Throwable;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
Signature: <U:Ljava/lang/Object;>(Ljava/net/http/HttpResponse$BodySubscriber<TU;>;ZLjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture<TU;>;
MethodParameters:
Name Flags
p
return2Cache
executor
private void onFinished();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.clear:()V
1: aload 0
getfield jdk.internal.net.http.Http1Response.return2Cache:Z
ifeq 8
2: ldc "Attempting to return connection to the pool: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
aastore
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
3: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 5
4: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.getConnectionFlow:()Ljdk/internal/net/http/common/FlowTube;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": return to HTTP/1.1 pool"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
aload 0
getfield jdk.internal.net.http.Http1Response.eof:Ljava/io/EOFException;
ifnonnull 6
aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
goto 7
StackMap locals:
StackMap stack: jdk.internal.net.http.HttpConnection
6: aconst_null
StackMap locals: jdk.internal.net.http.Http1Response
StackMap stack: jdk.internal.net.http.HttpConnection java.net.http.HttpHeaders
7: invokevirtual jdk.internal.net.http.HttpConnection.closeOrReturnToCache:(Ljava/net/http/HttpHeaders;)V
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/Http1Response<TT;>;
java.net.http.HttpHeaders ();
descriptor: ()Ljava/net/http/HttpHeaders;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response<TT;>;
int responseCode();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response.responseCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response<TT;>;
void onReadError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.internal.net.http.common.Log.logError:(Ljava/lang/Throwable;)V
1: aload 0
aload 0
getfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
invokevirtual jdk.internal.net.http.Http1Response.receiver:(Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$Receiver;
astore 2
start local 2 2: aload 1
instanceof java.io.EOFException
ifeq 5
3: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "onReadError: received EOF"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V
4: aload 0
aload 1
checkcast java.io.EOFException
putfield jdk.internal.net.http.Http1Response.eof:Ljava/io/EOFException;
5: StackMap locals: jdk.internal.net.http.Http1Response$Receiver
StackMap stack:
aload 2
ifnonnull 6
aconst_null
goto 7
StackMap locals:
StackMap stack:
6: aload 2
invokevirtual jdk.internal.net.http.Http1Response$Receiver.completion:()Ljava/util/concurrent/CompletableFuture;
StackMap locals:
StackMap stack: java.util.concurrent.CompletableFuture
7: astore 3
start local 3 8: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 3
invokedynamic get(Ljava/util/concurrent/CompletableFuture;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/internal/net/http/Http1Response.lambda$10(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
9: aload 3
ifnull 12
10: aload 3
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
11: goto 13
12: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
ldc "onReadError"
aload 1
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 1
invokedynamic get(Ljava/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/internal/net/http/Http1Response.lambda$11(Ljava/lang/Throwable;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
14: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.close:()V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 16 1 t Ljava/lang/Throwable;
2 16 2 receiver Ljdk/internal/net/http/Http1Response$Receiver<*>;
8 16 3 cf Ljava/util/concurrent/CompletableFuture<*>;
MethodParameters:
Name Flags
t
private jdk.internal.net.http.Http1Response$State advance(jdk.internal.net.http.Http1Response$State);
descriptor: (Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$State;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
aload 1
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
invokestatic jdk.internal.net.http.Http1Response.$SWITCH_TABLE$jdk$internal$net$http$Http1Response$State:()[I
aload 1
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 2
3: 4
default: 6
}
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.unsubscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
3: aload 0
getstatic jdk.internal.net.http.Http1Response$State.READING_BODY:Ljdk/internal/net/http/Http1Response$State;
dup_x1
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.unsubscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
5: aload 0
getstatic jdk.internal.net.http.Http1Response$State.DONE:Ljdk/internal/net/http/Http1Response$State;
dup_x1
putfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "can't advance from "
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;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 7 1 previous Ljdk/internal/net/http/Http1Response$State;
MethodParameters:
Name Flags
previous
jdk.internal.net.http.Http1Response$Receiver<?> receiver(jdk.internal.net.http.Http1Response$State);
descriptor: (Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$Receiver;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.net.http.Http1Response.$SWITCH_TABLE$jdk$internal$net$http$Http1Response$State:()[I
aload 1
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 1
3: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 4 1 state Ljdk/internal/net/http/Http1Response$State;
Signature: (Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Http1Response$Receiver<*>;
MethodParameters:
Name Flags
state
static int[] $SWITCH_TABLE$jdk$internal$net$http$Http1Response$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.net.http.Http1Response.$SWITCH_TABLE$jdk$internal$net$http$Http1Response$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.net.http.Http1Response$State.values:()[Ljdk/internal/net/http/Http1Response$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.net.http.Http1Response$State.DONE:Ljdk/internal/net/http/Http1Response$State;
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.net.http.Http1Response$State.INITIAL:Ljdk/internal/net/http/Http1Response$State;
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.net.http.Http1Response$State.READING_BODY:Ljdk/internal/net/http/Http1Response$State;
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
invokevirtual jdk.internal.net.http.Http1Response$State.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic jdk.internal.net.http.Http1Response.$SWITCH_TABLE$jdk$internal$net$http$Http1Response$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
private jdk.internal.net.http.Response lambda$3(jdk.internal.net.http.Http1Response$State);
descriptor: (Ljdk/internal/net/http/Http1Response$State;)Ljdk/internal/net/http/Response;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
ifne 1
aload 1
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 5
2: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Reading Headers: creating Response object; state is now "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 0
getfield jdk.internal.net.http.Http1Response.readProgress:Ljdk/internal/net/http/Http1Response$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.headersReader:Ljdk/internal/net/http/Http1Response$HeadersReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.unsubscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
6: aload 0
aload 0
getfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
invokevirtual jdk.internal.net.http.Http1HeaderParser.responseCode:()I
putfield jdk.internal.net.http.Http1Response.responseCode:I
7: aload 0
aload 0
getfield jdk.internal.net.http.Http1Response.hd:Ljdk/internal/net/http/Http1HeaderParser;
invokevirtual jdk.internal.net.http.Http1HeaderParser.headers:()Ljava/net/http/HttpHeaders;
putfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
8: aload 0
new jdk.internal.net.http.Response
dup
aload 0
getfield jdk.internal.net.http.Http1Response.request:Ljdk/internal/net/http/HttpRequestImpl;
9: aload 0
getfield jdk.internal.net.http.Http1Response.exchange:Ljdk/internal/net/http/Http1Exchange;
invokevirtual jdk.internal.net.http.Http1Exchange.getExchange:()Ljdk/internal/net/http/Exchange;
10: aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
11: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
12: aload 0
getfield jdk.internal.net.http.Http1Response.responseCode:I
13: getstatic java.net.http.HttpClient$Version.HTTP_1_1:Ljava/net/http/HttpClient$Version;
invokespecial jdk.internal.net.http.Response.<init>:(Ljdk/internal/net/http/HttpRequestImpl;Ljdk/internal/net/http/Exchange;Ljava/net/http/HttpHeaders;Ljdk/internal/net/http/HttpConnection;ILjava/net/http/HttpClient$Version;)V
14: putfield jdk.internal.net.http.Http1Response.response:Ljdk/internal/net/http/Response;
15: invokestatic jdk.internal.net.http.common.Log.headers:()Z
ifeq 19
16: new java.lang.StringBuilder
dup
ldc "RESPONSE HEADERS:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 17: aload 2
ldc " "
aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
invokestatic jdk.internal.net.http.common.Log.dumpHeaders:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/net/http/HttpHeaders;)V
18: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.net.http.common.Log.logHeaders:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.response:Ljdk/internal/net/http/Response;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 20 1 completed Ljdk/internal/net/http/Http1Response$State;
17 19 2 sb Ljava/lang/StringBuilder;
private void lambda$4(long, jdk.internal.net.http.Http1Response$Http1BodySubscriber, java.util.concurrent.CompletableFuture, jdk.internal.net.http.Http1Response$ClientRefCountTracker);
descriptor: (JLjdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=10, args_size=5
start local 0 0: aload 0
new jdk.internal.net.http.ResponseContent
dup
1: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
lload 1
aload 0
getfield jdk.internal.net.http.Http1Response.headers:Ljava/net/http/HttpHeaders;
aload 3
2: aload 0
invokedynamic run(Ljdk/internal/net/http/Http1Response;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
jdk/internal/net/http/Http1Response.onFinished()V (7)
()V
invokespecial jdk.internal.net.http.ResponseContent.<init>:(Ljdk/internal/net/http/HttpConnection;JLjava/net/http/HttpHeaders;Ljava/net/http/HttpResponse$BodySubscriber;Ljava/lang/Runnable;)V
3: putfield jdk.internal.net.http.Http1Response.content:Ljdk/internal/net/http/ResponseContent;
4: aload 4
invokevirtual java.util.concurrent.CompletableFuture.isCompletedExceptionally:()Z
ifeq 8
5: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.close:()V
6: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
pop2
7: return
8: StackMap locals:
StackMap stack:
aload 5
invokevirtual jdk.internal.net.http.Http1Response$ClientRefCountTracker.acquire:()V
9: aload 0
aload 0
getfield jdk.internal.net.http.Http1Response.content:Ljdk/internal/net/http/ResponseContent;
10: aload 0
aload 4
aload 3
invokedynamic accept(Ljdk/internal/net/http/Http1Response;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;)Ljava/util/function/Consumer;
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;)V
jdk/internal/net/http/Http1Response.lambda$6(Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
11: invokevirtual jdk.internal.net.http.ResponseContent.getBodyParser:(Ljava/util/function/Consumer;)Ljdk/internal/net/http/ResponseContent$BodyParser;
putfield jdk.internal.net.http.Http1Response.bodyParser:Ljdk/internal/net/http/ResponseContent$BodyParser;
12: aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
aload 0
getfield jdk.internal.net.http.Http1Response.bodyParser:Ljdk/internal/net/http/ResponseContent$BodyParser;
invokevirtual jdk.internal.net.http.Http1Response$BodyReader.start:(Ljdk/internal/net/http/ResponseContent$BodyParser;)V
13: aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
invokevirtual jdk.internal.net.http.Http1Response$BodyReader.completion:()Ljava/util/concurrent/CompletableFuture;
astore 7
start local 7 14: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.subscribe:(Ljdk/internal/net/http/Http1AsyncReceiver$Http1AsyncDelegate;)V
15: getstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
ifne 16
aload 7
ifnonnull 16
new java.lang.AssertionError
dup
ldc "parsing not started"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
16: StackMap locals: jdk.internal.net.http.Http1Response long jdk.internal.net.http.Http1Response$Http1BodySubscriber java.util.concurrent.CompletableFuture jdk.internal.net.http.Http1Response$ClientRefCountTracker top java.util.concurrent.CompletableFuture
StackMap stack:
aload 7
aload 0
aload 5
aload 3
aload 4
invokedynamic accept(Ljdk/internal/net/http/Http1Response;Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
jdk/internal/net/http/Http1Response.lambda$7(Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$State;Ljava/lang/Throwable;)V (7)
(Ljdk/internal/net/http/Http1Response$State;Ljava/lang/Throwable;)V
invokevirtual java.util.concurrent.CompletableFuture.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletableFuture;
astore 8
start local 8 17: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
aload 8
invokevirtual jdk.internal.net.http.HttpConnection.addTrailingOperation:(Ljava/util/concurrent/CompletionStage;)V
end local 8 end local 7 18: goto 32
StackMap locals: jdk.internal.net.http.Http1Response long jdk.internal.net.http.Http1Response$Http1BodySubscriber java.util.concurrent.CompletableFuture jdk.internal.net.http.Http1Response$ClientRefCountTracker
StackMap stack: java.lang.Throwable
19: astore 6
start local 6 20: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 21
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Failed reading body: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
21: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
aload 6
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.onError:(Ljava/lang/Throwable;)V
22: aload 4
aload 6
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
23: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 7
25: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 6
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
26: aload 7
athrow
27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 6
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
end local 6 28: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
pop2
goto 33
29: StackMap locals: jdk.internal.net.http.Http1Response long jdk.internal.net.http.Http1Response$Http1BodySubscriber java.util.concurrent.CompletableFuture jdk.internal.net.http.Http1Response$ClientRefCountTracker
StackMap stack: java.lang.Throwable
astore 9
30: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
pop2
31: aload 9
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.client:()Ljdk/internal/net/http/HttpClientImpl;
invokevirtual jdk.internal.net.http.HttpClientImpl.unreference:()J
pop2
33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/internal/net/http/Http1Response<TT;>;
14 18 7 bodyReaderCF Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
17 18 8 trailingOp Ljava/util/concurrent/CompletableFuture<*>;
20 28 6 t Ljava/lang/Throwable;
Exception table:
from to target type
0 6 19 Class java.lang.Throwable
8 18 19 Class java.lang.Throwable
21 24 24 any
0 6 29 any
8 28 29 any
private static void lambda$8(java.util.concurrent.CompletableFuture, java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/util/concurrent/CompletableFuture;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
aload 1
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 u TU;
0 4 2 t Ljava/lang/Throwable;
private static void lambda$9(jdk.internal.net.http.Http1Response$ClientRefCountTracker, java.lang.Object, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 1 start local 2 0: aload 2
ifnull 2
1: aload 0
invokevirtual jdk.internal.net.http.Http1Response$ClientRefCountTracker.tryRelease:()V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 s TU;
0 3 2 t Ljava/lang/Throwable;
private static java.lang.String lambda$10(java.util.concurrent.CompletableFuture);
descriptor: (Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "onReadError: cf is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
ifnonnull 2
ldc "null"
goto 4
2: StackMap locals:
StackMap stack: java.lang.StringBuilder
aload 0
invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
ifeq 3
ldc "already completed"
goto 4
3: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc "not yet completed"
4: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$11(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.StringBuilder
dup
ldc "closing connection: cause is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$6(java.util.concurrent.CompletableFuture, jdk.internal.net.http.Http1Response$Http1BodySubscriber, java.lang.Throwable);
descriptor: (Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 3 0: aload 3
ifnull 13
1: aload 2
aload 3
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.onError:(Ljava/lang/Throwable;)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 4
4: aload 1
aload 3
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
5: aload 4
athrow
6: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
7: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
9: aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
aload 3
invokevirtual jdk.internal.net.http.Http1Response$BodyReader.onComplete:(Ljava/lang/Throwable;)V
10: aload 3
ifnull 12
11: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.close:()V
12: StackMap locals: jdk.internal.net.http.Http1Response java.util.concurrent.CompletableFuture jdk.internal.net.http.Http1Response$Http1BodySubscriber java.lang.Throwable top java.lang.Throwable
StackMap stack:
aload 5
athrow
13: StackMap locals: jdk.internal.net.http.Http1Response java.util.concurrent.CompletableFuture jdk.internal.net.http.Http1Response$Http1BodySubscriber java.lang.Throwable
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response.bodyReader:Ljdk/internal/net/http/Http1Response$BodyReader;
aload 3
invokevirtual jdk.internal.net.http.Http1Response$BodyReader.onComplete:(Ljava/lang/Throwable;)V
14: aload 3
ifnull 16
15: aload 0
getfield jdk.internal.net.http.Http1Response.connection:Ljdk/internal/net/http/HttpConnection;
invokevirtual jdk.internal.net.http.HttpConnection.close:()V
16: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 17 3 t Ljava/lang/Throwable;
Exception table:
from to target type
1 3 3 any
0 8 8 any
private void lambda$7(jdk.internal.net.http.Http1Response$ClientRefCountTracker, jdk.internal.net.http.Http1Response$Http1BodySubscriber, java.util.concurrent.CompletableFuture, jdk.internal.net.http.Http1Response$State, java.lang.Throwable);
descriptor: (Ljdk/internal/net/http/Http1Response$ClientRefCountTracker;Ljdk/internal/net/http/Http1Response$Http1BodySubscriber;Ljava/util/concurrent/CompletableFuture;Ljdk/internal/net/http/Http1Response$State;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=8, args_size=6
start local 0 start local 4 start local 5 0: aload 5
invokestatic jdk.internal.net.http.common.Utils.getCompletionCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 5
1: aload 5
ifnonnull 4
2: aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 3
aload 0
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Finished reading body: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http1Response.$assertionsDisabled:Z
ifne 4
aload 4
getstatic jdk.internal.net.http.Http1Response$State.READING_BODY:Ljdk/internal/net/http/Http1Response$State;
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 5
ifnull 14
5: aload 2
aload 5
invokevirtual jdk.internal.net.http.Http1Response$Http1BodySubscriber.onError:(Ljava/lang/Throwable;)V
6: aload 3
aload 5
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
7: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 6
start local 6 9: aload 0
getfield jdk.internal.net.http.Http1Response.asyncReceiver:Ljdk/internal/net/http/Http1AsyncReceiver;
aload 6
invokevirtual jdk.internal.net.http.Http1AsyncReceiver.onReadError:(Ljava/lang/Throwable;)V
end local 6 10: aload 1
invokevirtual jdk.internal.net.http.Http1Response$ClientRefCountTracker.tryRelease:()V
goto 15
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
12: aload 1
invokevirtual jdk.internal.net.http.Http1Response$ClientRefCountTracker.tryRelease:()V
13: aload 7
athrow
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.internal.net.http.Http1Response$ClientRefCountTracker.tryRelease:()V
15: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/net/http/Http1Response<TT;>;
0 16 4 s Ljdk/internal/net/http/Http1Response$State;
0 16 5 t Ljava/lang/Throwable;
9 10 6 x Ljava/lang/Throwable;
Exception table:
from to target type
1 7 8 Class java.lang.Throwable
1 10 11 any
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Http1Response.java"
NestMembers:
jdk.internal.net.http.Http1Response$1 jdk.internal.net.http.Http1Response$BodyReader jdk.internal.net.http.Http1Response$ClientRefCountTracker jdk.internal.net.http.Http1Response$HeadersReader jdk.internal.net.http.Http1Response$Http1BodySubscriber jdk.internal.net.http.Http1Response$Receiver jdk.internal.net.http.Http1Response$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
public final Version = java.net.http.HttpClient$Version of java.net.http.HttpClient
public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
public BodySubscribers = java.net.http.HttpResponse$BodySubscribers of java.net.http.HttpResponse
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
abstract Http1AsyncDelegate = jdk.internal.net.http.Http1AsyncReceiver$Http1AsyncDelegate of jdk.internal.net.http.Http1AsyncReceiver
jdk.internal.net.http.Http1Response$1
final BodyReader = jdk.internal.net.http.Http1Response$BodyReader of jdk.internal.net.http.Http1Response
private final ClientRefCountTracker = jdk.internal.net.http.Http1Response$ClientRefCountTracker of jdk.internal.net.http.Http1Response
final HeadersReader = jdk.internal.net.http.Http1Response$HeadersReader of jdk.internal.net.http.Http1Response
final Http1BodySubscriber = jdk.internal.net.http.Http1Response$Http1BodySubscriber of jdk.internal.net.http.Http1Response
abstract Receiver = jdk.internal.net.http.Http1Response$Receiver of jdk.internal.net.http.Http1Response
final State = jdk.internal.net.http.Http1Response$State of jdk.internal.net.http.Http1Response
abstract BodyParser = jdk.internal.net.http.ResponseContent$BodyParser of jdk.internal.net.http.ResponseContent