final class extends jdk.incubator.http.Http1Response$Receiver<jdk.incubator.http.Http1HeaderParser>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.Http1Response$HeadersReader
super_class: jdk.incubator.http.Http1Response$Receiver
{
final java.util.function.Consumer<jdk.incubator.http.Http1Response$State> ;
descriptor: Ljava/util/function/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljdk/incubator/http/Http1Response$State;>;
volatile jdk.incubator.http.Http1HeaderParser ;
descriptor: Ljdk/incubator/http/Http1HeaderParser;
flags: (0x0040) ACC_VOLATILE
volatile java.util.concurrent.CompletableFuture<jdk.incubator.http.Http1Response$State> ;
descriptor: Ljava/util/concurrent/CompletableFuture;
flags: (0x0040) ACC_VOLATILE
Signature: Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Http1Response$State;>;
volatile long ;
descriptor: J
flags: (0x0040) ACC_VOLATILE
volatile jdk.incubator.http.AbstractSubscription ;
descriptor: Ljdk/incubator/http/AbstractSubscription;
flags: (0x0040) ACC_VOLATILE
final jdk.incubator.http.Http1Response ;
descriptor: Ljdk/incubator/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/incubator/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.incubator.http.Http1Response$HeadersReader.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.function.Consumer<jdk.incubator.http.Http1Response$State>);
descriptor: (Ljdk/incubator/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.incubator.http.Http1Response$HeadersReader.this$0:Ljdk/incubator/http/Http1Response;
aload 0
invokespecial jdk.incubator.http.Http1Response$Receiver.<init>:()V
1: aload 0
aload 2
putfield jdk.incubator.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/incubator/http/Http1Response$HeadersReader;
0 3 2 onComplete Ljava/util/function/Consumer<Ljdk/incubator/http/Http1Response$State;>;
Signature: (Ljava/util/function/Consumer<Ljdk/incubator/http/Http1Response$State;>;)V
MethodParameters:
Name Flags
this$0 final
onComplete
public jdk.incubator.http.AbstractSubscription ();
descriptor: ()Ljdk/incubator/http/AbstractSubscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.subscription:Ljdk/incubator/http/AbstractSubscription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
public void (jdk.incubator.http.AbstractSubscription);
descriptor: (Ljdk/incubator/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.incubator.http.Http1Response$HeadersReader.subscription:Ljdk/incubator/http/AbstractSubscription;
1: aload 1
lconst_1
invokevirtual jdk.incubator.http.AbstractSubscription.request:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
0 3 1 s Ljdk/incubator/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.incubator.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
1: aload 0
aconst_null
putfield jdk.incubator.http.Http1Response$HeadersReader.parser:Ljdk/incubator/http/Http1HeaderParser;
2: aload 0
lconst_0
putfield jdk.incubator.http.Http1Response$HeadersReader.count:J
3: aload 0
aconst_null
putfield jdk.incubator.http.Http1Response$HeadersReader.subscription:Ljdk/incubator/http/AbstractSubscription;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
final void (jdk.incubator.http.Http1HeaderParser);
descriptor: (Ljdk/incubator/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.incubator.http.Http1Response$HeadersReader.count:J
1: aload 0
new jdk.incubator.http.internal.common.MinimalFuture
dup
invokespecial jdk.incubator.http.internal.common.MinimalFuture.<init>:()V
putfield jdk.incubator.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
2: aload 0
aload 1
putfield jdk.incubator.http.Http1Response$HeadersReader.parser:Ljdk/incubator/http/Http1HeaderParser;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
0 4 1 hp Ljdk/incubator/http/Http1HeaderParser;
MethodParameters:
Name Flags
hp
java.util.concurrent.CompletableFuture<jdk.incubator.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.incubator.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
Signature: ()Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/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.incubator.http.Http1Response$HeadersReader.subscription:Ljdk/incubator/http/AbstractSubscription;
invokevirtual jdk.incubator.http.AbstractSubscription.demand:()Ljdk/incubator/http/internal/common/Demand;
invokevirtual jdk.incubator.http.internal.common.Demand.tryDecrement:()Z
istore 2
start local 2 1: getstatic jdk.incubator.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.incubator.http.Http1Response$HeadersReader.parser:Ljdk/incubator/http/Http1HeaderParser;
aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.cf:Ljava/util/concurrent/CompletableFuture;
invokevirtual jdk.incubator.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.incubator.http.Http1Response$HeadersReader.subscription:Ljdk/incubator/http/AbstractSubscription;
lconst_1
invokevirtual jdk.incubator.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/incubator/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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.this$0:Ljdk/incubator/http/Http1Response;
aload 1
invokevirtual jdk.incubator.http.Http1Response.onReadError:(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/Http1Response$HeadersReader;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
final void handle(java.nio.ByteBuffer, jdk.incubator.http.Http1HeaderParser, java.util.concurrent.CompletableFuture<jdk.incubator.http.Http1Response$State>);
descriptor: (Ljava/nio/ByteBuffer;Ljdk/incubator/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.incubator.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.incubator.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.incubator.http.Http1Response$HeadersReader.count:J
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
putfield jdk.incubator.http.Http1Response$HeadersReader.count:J
3: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.this$0:Ljdk/incubator/http/Http1Response;
getfield jdk.incubator.http.Http1Response.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 1
invokedynamic get(Ljava/nio/ByteBuffer;)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/Http1Response$HeadersReader.lambda$0(Ljava/nio/ByteBuffer;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
4: aload 2
aload 1
invokevirtual jdk.incubator.http.Http1HeaderParser.parse:(Ljava/nio/ByteBuffer;)Z
ifeq 15
5: aload 0
dup
getfield jdk.incubator.http.Http1Response$HeadersReader.count:J
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
lsub
putfield jdk.incubator.http.Http1Response$HeadersReader.count:J
6: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.this$0:Ljdk/incubator/http/Http1Response;
getfield jdk.incubator.http.Http1Response.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
aload 0
invokedynamic get(Ljdk/incubator/http/Http1Response$HeadersReader;)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/Http1Response$HeadersReader.lambda$1()Ljava/lang/String; (7)
()Ljava/lang/String;
invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
7: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.onComplete:Ljava/util/function/Consumer;
getstatic jdk.incubator.http.Http1Response$State.READING_HEADERS:Ljdk/incubator/http/Http1Response$State;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
8: aload 3
getstatic jdk.incubator.http.Http1Response$State.READING_HEADERS:Ljdk/incubator/http/Http1Response$State;
invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
pop
9: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
start local 4 11: aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.this$0:Ljdk/incubator/http/Http1Response;
getfield jdk.incubator.http.Http1Response.debug:Ljava/lang/System$Logger;
getstatic java.lang.System$Logger$Level.DEBUG:Ljava/lang/System$Logger$Level;
12: aload 4
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/incubator/http/Http1Response$HeadersReader.lambda$2(Ljava/lang/Throwable;)Ljava/lang/String; (6)
()Ljava/lang/String;
13: invokeinterface java.lang.System$Logger.log:(Ljava/lang/System$Logger$Level;Ljava/util/function/Supplier;)V
14: aload 3
aload 4
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
end local 4 15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/http/Http1Response$HeadersReader;
0 16 1 b Ljava/nio/ByteBuffer;
0 16 2 parser Ljdk/incubator/http/Http1HeaderParser;
0 16 3 cf Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Http1Response$State;>;
11 15 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 9 10 Class java.lang.Throwable
Signature: (Ljava/nio/ByteBuffer;Ljdk/incubator/http/Http1HeaderParser;Ljava/util/concurrent/CompletableFuture<Ljdk/incubator/http/Http1Response$State;>;)V
MethodParameters:
Name Flags
b
parser
cf
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.incubator.http.Http1HeaderParser
invokevirtual jdk.incubator.http.Http1Response$HeadersReader.start:(Ljdk/incubator/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.incubator.http.Http1HeaderParser
aload 3
invokevirtual jdk.incubator.http.Http1Response$HeadersReader.handle:(Ljava/nio/ByteBuffer;Ljdk/incubator/http/Http1HeaderParser;Ljava/util/concurrent/CompletableFuture;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String (java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)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 "Sending "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes to header parser"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Parsing headers completed. bytes="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.http.Http1Response$HeadersReader.count:J
invokevirtual java.lang.StringBuilder.append:(J)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/Http1Response$HeadersReader;
private static java.lang.String (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 "Header parser failed to handle buffer: "
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
}
Signature: Ljdk/incubator/http/Http1Response$Receiver<Ljdk/incubator/http/Http1HeaderParser;>;
SourceFile: "Http1Response.java"
NestHost: jdk.incubator.http.Http1Response
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
final HeadersReader = jdk.incubator.http.Http1Response$HeadersReader of jdk.incubator.http.Http1Response
abstract Receiver = jdk.incubator.http.Http1Response$Receiver of jdk.incubator.http.Http1Response
final State = jdk.incubator.http.Http1Response$State of jdk.incubator.http.Http1Response