class jdk.internal.net.http.ResponseContent$ChunkedBodyParser implements jdk.internal.net.http.ResponseContent$BodyParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.ResponseContent$ChunkedBodyParser
super_class: java.lang.Object
{
final java.nio.ByteBuffer READMORE;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0010) ACC_FINAL
final java.util.function.Consumer<java.lang.Throwable> onComplete;
descriptor: Ljava/util/function/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
final jdk.internal.net.http.common.Logger debug;
descriptor: Ljdk/internal/net/http/common/Logger;
flags: (0x0010) ACC_FINAL
final java.lang.String dbgTag;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
volatile java.lang.Throwable closedExceptionally;
descriptor: Ljava/lang/Throwable;
flags: (0x0040) ACC_VOLATILE
volatile int partialChunklen;
descriptor: I
flags: (0x0040) ACC_VOLATILE
volatile int chunklen;
descriptor: I
flags: (0x0040) ACC_VOLATILE
volatile int bytesremaining;
descriptor: I
flags: (0x0040) ACC_VOLATILE
volatile boolean cr;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile int bytesToConsume;
descriptor: I
flags: (0x0040) ACC_VOLATILE
volatile jdk.internal.net.http.ResponseContent$ChunkState state;
descriptor: Ljdk/internal/net/http/ResponseContent$ChunkState;
flags: (0x0040) ACC_VOLATILE
volatile jdk.internal.net.http.AbstractSubscription sub;
descriptor: Ljdk/internal/net/http/AbstractSubscription;
flags: (0x0040) ACC_VOLATILE
final jdk.internal.net.http.ResponseContent this$0;
descriptor: Ljdk/internal/net/http/ResponseContent;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/net/http/ResponseContent;
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.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.function.Consumer<java.lang.Throwable>);
descriptor: (Ljdk/internal/net/http/ResponseContent;Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.internal.net.http.common.Utils.EMPTY_BYTEBUFFER:Ljava/nio/ByteBuffer;
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
2: aload 0
aload 0
invokedynamic get(Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;)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/ResponseContent$ChunkedBodyParser.dbgString()Ljava/lang/String; (5)
()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.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
3: aload 0
new java.lang.StringBuilder
dup
aload 1
getfield jdk.internal.net.http.ResponseContent.dbgTag:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/ChunkedBodyParser"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.dbgTag:Ljava/lang/String;
4: aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
5: aload 0
iconst_m1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
6: aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
7: aload 0
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
8: aload 0
aload 2
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
9: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 10 2 onComplete Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
Signature: (Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
this$0 final
onComplete
java.lang.String dbgString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.dbgTag:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
public void onSubscribe(jdk.internal.net.http.AbstractSubscription);
descriptor: (Ljdk/internal/net/http/AbstractSubscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 2
1: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "onSubscribe: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
aload 0
aload 1
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub:Ljdk/internal/net/http/AbstractSubscription;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onSubscribe:(Ljava/util/concurrent/Flow$Subscription;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 4 1 sub Ljdk/internal/net/http/AbstractSubscription;
MethodParameters:
Name Flags
sub
public java.lang.String currentStateMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "chunked transfer encoding, state: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
public void accept(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
ifnull 4
1: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 3
2: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
new java.lang.StringBuilder
dup
ldc "already closed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
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:
return
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 6: StackMap locals: int java.util.List
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryPushOneHunk:(Ljava/nio/ByteBuffer;Ljava/util/List;)Z
ifeq 21
7: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 12
8: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub: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 4
start local 4 9: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 10
iload 4
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
11: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 12
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Chunks sent"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
end local 4 12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 13
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "done!"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 14
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
ifnull 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 15
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.onFinished:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
16: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onComplete:()V
17: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 18
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "subscriber completed"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
iconst_1
istore 2
19: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
20: goto 22
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 6
22: StackMap locals:
StackMap stack:
iload 2
ifne 27
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 27
23: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.sub: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 4
start local 4 24: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 25
iload 4
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.this$0:Ljdk/internal/net/http/ResponseContent;
getfield jdk.internal.net.http.ResponseContent.pusher:Ljava/net/http/HttpResponse$BodySubscriber;
aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
invokeinterface java.net.http.HttpResponse$BodySubscriber.onNext:(Ljava/lang/Object;)V
26: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 27
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Chunk sent"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
end local 4 27: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 33
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpeq 33
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 33
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 28: StackMap locals: jdk.internal.net.http.ResponseContent$ChunkedBodyParser java.nio.ByteBuffer int
StackMap stack: java.lang.Throwable
astore 3
start local 3 29: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 31
30: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Error while processing buffer: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
31: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 3
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.closedExceptionally:Ljava/lang/Throwable;
32: iload 2
ifne 33
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.onComplete:Ljava/util/function/Consumer;
aload 3
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
end local 3 33: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 34 1 b Ljava/nio/ByteBuffer;
5 34 2 completed Z
6 28 3 out Ljava/util/List<Ljava/nio/ByteBuffer;>;
9 12 4 hasDemand Z
24 27 4 hasDemand Z
29 33 3 t Ljava/lang/Throwable;
Exception table:
from to target type
5 28 28 Class java.lang.Throwable
MethodParameters:
Name Flags
b
private int tryReadChunkLen(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 11
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
istore 2
start local 2 2: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
ifeq 6
3: iload 2
bipush 10
if_icmpne 5
4: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
ireturn
5: StackMap locals: int
StackMap stack:
new java.io.IOException
dup
ldc "invalid chunk header"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 2
bipush 13
if_icmpne 9
7: aload 0
iconst_1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.toDigit:(I)I
istore 3
start local 3 10: aload 0
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
bipush 16
imul
iload 3
iadd
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
12: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 13 1 chunkbuf Ljava/nio/ByteBuffer;
2 11 2 c I
10 11 3 digit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunkbuf
private int tryConsumeBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
istore 2
start local 2 1: iload 2
ifle 13
2: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 3: getstatic jdk.internal.net.http.common.Utils.ASSERTIONSENABLED:Z
ifeq 10
4: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 6
iload 2
iconst_2
if_icmpgt 5
iload 3
iconst_2
if_icmple 6
StackMap locals: int int
StackMap stack:
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 4
start local 4 7: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 8
iload 2
iconst_2
if_icmpne 8
iload 3
ifle 8
aload 4
invokevirtual java.nio.ByteBuffer.get:()B
bipush 13
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: java.nio.ByteBuffer
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 10
iload 2
iconst_1
if_icmpeq 9
iload 3
iconst_2
if_icmpne 10
StackMap locals:
StackMap stack:
9: aload 4
invokevirtual java.nio.ByteBuffer.get:()B
bipush 10
if_icmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
11: iload 2
iload 3
isub
istore 2
12: aload 0
iload 2
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
end local 3 13: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 14
iload 2
ifge 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 15 1 chunkbuf Ljava/nio/ByteBuffer;
1 15 2 n I
3 13 3 e I
7 10 4 tmp Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunkbuf
java.nio.ByteBuffer tryReadOneHunk(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
istore 2
start local 2 1: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
istore 3
start local 3 2: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
astore 4
start local 4 3: aload 4
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpne 12
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
iconst_m1
if_icmpne 12
4: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 5
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
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/internal/net/http/ResponseContent$ChunkedBodyParser.lambda$1(Ljava/nio/ByteBuffer;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/util/function/Supplier;)V
5: StackMap locals: int int jdk.internal.net.http.ResponseContent$ChunkState
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryReadChunkLen:(Ljava/nio/ByteBuffer;)I
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmpne 7
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
areturn
7: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 8
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Got chunk len %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
9: aload 0
iload 5
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
istore 2
10: iload 5
ifne 11
aload 0
iconst_2
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
istore 3
goto 12
11: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_DATA:Ljdk/internal/net/http/ResponseContent$ChunkState;
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
astore 4
end local 5 12: StackMap locals:
StackMap stack:
iload 3
ifle 19
13: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 17
14: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Trying to consume bytes: %d (remaining in buffer: %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
15: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
16: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryConsumeBytes:(Ljava/nio/ByteBuffer;)I
ifle 19
18: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
areturn
19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
istore 3
20: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 21
iload 3
ifeq 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 4
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpne 27
22: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
istore 5
start local 5 23: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 24
iload 5
ifeq 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 25
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "No more chunks: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
26: aconst_null
areturn
end local 5 27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
istore 5
start local 5 28: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 29
iload 5
ifgt 29
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
29: StackMap locals: int
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 30
aload 4
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_DATA:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpeq 30
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
astore 6
start local 6 31: iload 2
ifle 43
32: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 7
start local 7 33: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 37
34: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Reading chunk: available %d, needed %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
35: iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
36: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
37: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
iload 7
iload 2
invokestatic java.lang.Math.min:(II)I
istore 8
start local 8 38: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 40
39: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Returning chunk bytes: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
40: StackMap locals: int
StackMap stack:
aload 1
iload 8
invokestatic jdk.internal.net.http.common.Utils.sliceWithLimitedCapacity:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
astore 6
41: aload 0
dup
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
iload 8
isub
dup_x1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesremaining:I
istore 2
42: iload 2
ifne 43
aload 0
iconst_2
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.bytesToConsume:I
end local 8 end local 7 43: StackMap locals:
StackMap stack:
getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 44
iload 2
ifge 44
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
44: StackMap locals:
StackMap stack:
iload 2
ifne 55
45: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 49
46: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "No more bytes to read - %d yet to consume."
iconst_1
anewarray java.lang.Object
dup
iconst_0
47: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
48: invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
49: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryConsumeBytes:(Ljava/nio/ByteBuffer;)I
ifne 55
50: aload 0
iconst_m1
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.chunklen:I
51: aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.partialChunklen:I
52: aload 0
iconst_0
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.cr:Z
53: aload 0
getstatic jdk.internal.net.http.ResponseContent$ChunkState.READING_LENGTH:Ljdk/internal/net/http/ResponseContent$ChunkState;
putfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
54: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 55
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Ready to read next chunk"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
55: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.READMORE:Ljava/nio/ByteBuffer;
if_acmpne 57
56: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 57
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Need more data"
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
57: StackMap locals:
StackMap stack:
aload 6
areturn
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 58 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 58 1 chunk Ljava/nio/ByteBuffer;
1 58 2 unfulfilled I
2 58 3 toconsume I
3 58 4 st Ljdk/internal/net/http/ResponseContent$ChunkState;
6 12 5 clen I
23 27 5 clen I
28 58 5 clen I
31 58 6 returnBuffer Ljava/nio/ByteBuffer;
33 43 7 bytesread I
38 43 8 bytes2return I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chunk
private boolean tryPushOneHunk(java.nio.ByteBuffer, java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/nio/ByteBuffer;Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.internal.net.http.ResponseContent$ChunkedBodyParser.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.state:Ljdk/internal/net/http/ResponseContent$ChunkState;
getstatic jdk.internal.net.http.ResponseContent$ChunkState.DONE:Ljdk/internal/net/http/ResponseContent$ChunkState;
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.tryReadOneHunk:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 3
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 7
4: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
invokeinterface jdk.internal.net.http.common.Logger.on:()Z
ifeq 6
5: aload 0
getfield jdk.internal.net.http.ResponseContent$ChunkedBodyParser.debug:Ljdk/internal/net/http/common/Logger;
ldc "Sending chunk to consumer (%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/ResponseContent$ChunkedBodyParser;
0 9 1 b Ljava/nio/ByteBuffer;
0 9 2 out Ljava/util/List<Ljava/nio/ByteBuffer;>;
2 9 3 b1 Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/ByteBuffer;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Z
MethodParameters:
Name Flags
b
out
private int toDigit(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 48
if_icmplt 2
iload 1
bipush 57
if_icmpgt 2
1: iload 1
bipush 48
isub
ireturn
2: StackMap locals:
StackMap stack:
iload 1
bipush 65
if_icmplt 4
iload 1
bipush 70
if_icmpgt 4
3: iload 1
bipush 65
isub
bipush 10
iadd
ireturn
4: StackMap locals:
StackMap stack:
iload 1
bipush 97
if_icmplt 6
iload 1
bipush 102
if_icmpgt 6
5: iload 1
bipush 97
isub
bipush 10
iadd
ireturn
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Invalid chunk header byte "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<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/ResponseContent$ChunkedBodyParser;
0 7 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void accept(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
invokevirtual jdk.internal.net.http.ResponseContent$ChunkedBodyParser.accept:(Ljava/nio/ByteBuffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$1(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 "Trying to read chunk len (remaining in buffer:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
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;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ResponseContent.java"
NestHost: jdk.internal.net.http.ResponseContent
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract BodySubscriber = java.net.http.HttpResponse$BodySubscriber of java.net.http.HttpResponse
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
abstract BodyParser = jdk.internal.net.http.ResponseContent$BodyParser of jdk.internal.net.http.ResponseContent
final ChunkState = jdk.internal.net.http.ResponseContent$ChunkState of jdk.internal.net.http.ResponseContent
ChunkedBodyParser = jdk.internal.net.http.ResponseContent$ChunkedBodyParser of jdk.internal.net.http.ResponseContent