final class extends jdk.internal.net.http.Http1Response$Receiver<jdk.internal.net.http.Http1HeaderParser>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.net.http.Http1Response$HeadersReader
super_class: jdk.internal.net.http.Http1Response$Receiver
{
final java.util.function.Consumer<jdk.internal.net.http.Http1Response$State> ;
descriptor: Ljava/util/function/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljdk/internal/net/http/Http1Response$State;>;
volatile jdk.internal.net.http.Http1HeaderParser ;
descriptor: Ljdk/internal/net/http/Http1HeaderParser;
flags: (0x0040) ACC_VOLATILE
volatile java.util.concurrent.CompletableFuture<jdk.internal.net.http.Http1Response$State> ;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0040) ACC_VOLATILE
Signature: Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
volatile long ;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile jdk.internal.net.http.AbstractSubscription ;
descriptor: Ljdk/internal/net/http/AbstractSubscription;
flags: (0x0040) ACC_VOLATILE
final jdk.internal.net.http.Http1Response ;
descriptor: Ljdk/internal/net/http/Http1Response;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean ;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, 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$HeadersReader.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.function.Consumer<jdk.internal.net.http.Http1Response$State>);
descriptor: (Ljdk/internal/net/http/Http1Response;Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
aload 0
invokespecial jdk.internal.net.http.Http1Response$Receiver.<init>:()V
1: aload 0
aload 2
putfield jdk.internal.net.http.Http1Response$HeadersReader.onComplete:Ljava/util/function/Consumer;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 3 2 onComplete Ljava/util/function/Consumer<Ljdk/internal/net/http/Http1Response$State;>;
Signature: (Ljava/util/function/Consumer<Ljdk/internal/net/http/Http1Response$State;>;)V
MethodParameters:
Name Flags
this$0 final
onComplete
public jdk.internal.net.http.AbstractSubscription ();
descriptor: ()Ljdk/internal/net/http/AbstractSubscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.subscription:Ljdk/internal/net/http/AbstractSubscription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
public void (jdk.internal.net.http.AbstractSubscription);
descriptor: (Ljdk/internal/net/http/AbstractSubscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.net.http.Http1Response$HeadersReader.subscription:Ljdk/internal/net/http/AbstractSubscription;
1: aload 1
lconst_1
invokevirtual jdk.internal.net.http.AbstractSubscription.request:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 3 1 s Ljdk/internal/net/http/AbstractSubscription;
MethodParameters:
Name Flags
s
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield jdk.internal.net.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
1: aload 0
aconst_null
putfield jdk.internal.net.http.Http1Response$HeadersReader.parser:Ljdk/internal/net/http/Http1HeaderParser;
2: aload 0
lconst_0
putfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
3: aload 0
aconst_null
putfield jdk.internal.net.http.Http1Response$HeadersReader.subscription:Ljdk/internal/net/http/AbstractSubscription;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
final void (jdk.internal.net.http.Http1HeaderParser);
descriptor: (Ljdk/internal/net/http/Http1HeaderParser;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
lconst_0
putfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
1: aload 0
new jdk.internal.net.http.common.MinimalFuture
dup
invokespecial jdk.internal.net.http.common.MinimalFuture.<init>:()V
putfield jdk.internal.net.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
2: aload 0
aload 1
putfield jdk.internal.net.http.Http1Response$HeadersReader.parser:Ljdk/internal/net/http/Http1HeaderParser;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 4 1 hp Ljdk/internal/net/http/Http1HeaderParser;
MethodParameters:
Name Flags
hp
java.util.concurrent.CompletableFuture<jdk.internal.net.http.Http1Response$State> completion();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
public final boolean (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.subscription:Ljdk/internal/net/http/AbstractSubscription;
invokevirtual jdk.internal.net.http.AbstractSubscription.demand:()Ljdk/internal/net/http/common/Demand;
invokevirtual jdk.internal.net.http.common.Demand.tryDecrement:()Z
istore 2
start local 2 1: getstatic jdk.internal.net.http.Http1Response$HeadersReader.$assertionsDisabled:Z
ifne 2
iload 2
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.parser:Ljdk/internal/net/http/Http1HeaderParser;
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.accept:(Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/util/concurrent/CompletableFuture;)Z
istore 3
start local 3 3: iload 3
ifeq 4
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.subscription:Ljdk/internal/net/http/AbstractSubscription;
lconst_1
invokevirtual jdk.internal.net.http.AbstractSubscription.request:(J)V
4: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 5 1 ref Ljava/nio/ByteBuffer;
1 5 2 hasDemand Z
3 5 3 needsMore Z
MethodParameters:
Name Flags
ref
public final void (java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.parser:Ljdk/internal/net/http/Http1HeaderParser;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Ljdk/internal/net/http/Http1HeaderParser;)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/Http1HeaderParser.currentStateMessage()Ljava/lang/String; (5)
()Ljava/lang/String;
invokestatic jdk.internal.net.http.common.Utils.wrapWithExtraDetail:(Ljava/lang/Throwable;Ljava/util/function/Supplier;)Ljava/lang/Throwable;
astore 1
1: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
aload 1
invokevirtual jdk.internal.net.http.Http1Response.onReadError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
final void handle(java.nio.ByteBuffer, jdk.internal.net.http.Http1HeaderParser, java.util.concurrent.CompletableFuture<jdk.internal.net.http.Http1Response$State>);
descriptor: (Ljava/nio/ByteBuffer;Ljdk/internal/net/http/Http1HeaderParser;Ljava/util/concurrent/CompletableFuture;)V
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.internal.net.http.Http1Response$HeadersReader.$assertionsDisabled:Z
ifne 1
aload 3
ifnonnull 1
new java.lang.AssertionError
dup
ldc "parsing not started"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.Http1Response$HeadersReader.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
ldc "no parser"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
putfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
3: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 7
4: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Sending "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: ldc " bytes to header parser"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual jdk.internal.net.http.Http1HeaderParser.parse:(Ljava/nio/ByteBuffer;)Z
ifeq 18
8: aload 0
dup
getfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lsub
putfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
9: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 11
10: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Parsing headers completed. bytes="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.count:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.onComplete:Ljava/util/function/Consumer;
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
12: aload 3
getstatic jdk.internal.net.http.Http1Response$State.READING_HEADERS:Ljdk/internal/net/http/Http1Response$State;
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
13: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
start local 4 15: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 17
16: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "Header parser failed to handle buffer: "
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
17: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
aload 4
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
end local 4 18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 19 1 b Ljava/nio/ByteBuffer;
0 19 2 parser Ljdk/internal/net/http/Http1HeaderParser;
0 19 3 cf Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
15 18 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 13 14 Class java.lang.Throwable
Signature: (Ljava/nio/ByteBuffer;Ljdk/internal/net/http/Http1HeaderParser;Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;)V
MethodParameters:
Name Flags
b
parser
cf
public void (java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 6
1: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 0
getfield jdk.internal.net.http.Http1Response$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
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$HeadersReader.this$0:Ljdk/internal/net/http/Http1Response;
getfield jdk.internal.net.http.Http1Response.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "close: completing header parser CF 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;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
5: StackMap locals: java.util.concurrent.CompletableFuture
StackMap stack:
aload 2
aload 1
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/net/http/Http1Response$HeadersReader;
0 7 1 error Ljava/lang/Throwable;
2 6 2 cf Ljava/util/concurrent/CompletableFuture<Ljdk/internal/net/http/Http1Response$State;>;
MethodParameters:
Name Flags
error
void (java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.internal.net.http.Http1HeaderParser
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.start:(Ljdk/internal/net/http/Http1HeaderParser;)V
return
LocalVariableTable:
Start End Slot Name Signature
void handle(java.nio.ByteBuffer, java.lang.Object, java.util.concurrent.CompletableFuture);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/util/concurrent/CompletableFuture;)V
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast jdk.internal.net.http.Http1HeaderParser
aload 3
invokevirtual jdk.internal.net.http.Http1Response$HeadersReader.handle:(Ljava/nio/ByteBuffer;Ljdk/internal/net/http/Http1HeaderParser;Ljava/util/concurrent/CompletableFuture;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljdk/internal/net/http/Http1Response$Receiver<Ljdk/internal/net/http/Http1HeaderParser;>;
SourceFile: "Http1Response.java"
NestHost: jdk.internal.net.http.Http1Response
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final HeadersReader = jdk.internal.net.http.Http1Response$HeadersReader 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