final class jdk.incubator.http.internal.hpack.StringReader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.hpack.StringReader
super_class: java.lang.Object
{
private static final int NEW;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int FIRST_BYTE_READ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int LENGTH_READ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DONE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private final jdk.incubator.http.internal.hpack.IntegerReader intReader;
descriptor: Ljdk/incubator/http/internal/hpack/IntegerReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.Huffman$Reader huffmanReader;
descriptor: Ljdk/incubator/http/internal/hpack/Huffman$Reader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.ISO_8859_1$Reader plainReader;
descriptor: Ljdk/incubator/http/internal/hpack/ISO_8859_1$Reader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean huffman;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int remainingLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.incubator.http.internal.hpack.IntegerReader
dup
invokespecial jdk.incubator.http.internal.hpack.IntegerReader.<init>:()V
putfield jdk.incubator.http.internal.hpack.StringReader.intReader:Ljdk/incubator/http/internal/hpack/IntegerReader;
2: aload 0
new jdk.incubator.http.internal.hpack.Huffman$Reader
dup
invokespecial jdk.incubator.http.internal.hpack.Huffman$Reader.<init>:()V
putfield jdk.incubator.http.internal.hpack.StringReader.huffmanReader:Ljdk/incubator/http/internal/hpack/Huffman$Reader;
3: aload 0
new jdk.incubator.http.internal.hpack.ISO_8859_1$Reader
dup
invokespecial jdk.incubator.http.internal.hpack.ISO_8859_1$Reader.<init>:()V
putfield jdk.incubator.http.internal.hpack.StringReader.plainReader:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Reader;
4: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.StringReader.state:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/StringReader;
boolean read(java.nio.ByteBuffer, java.lang.Appendable);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/Appendable;)Z
flags: (0x0000)
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
iconst_4
if_icmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
ifne 11
5: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 6: aload 0
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 128
iand
ifeq 7
iconst_1
goto 8
StackMap locals: jdk.incubator.http.internal.hpack.StringReader java.nio.ByteBuffer java.lang.Appendable int
StackMap stack: jdk.incubator.http.internal.hpack.StringReader
7: iconst_0
StackMap locals: jdk.incubator.http.internal.hpack.StringReader java.nio.ByteBuffer java.lang.Appendable int
StackMap stack: jdk.incubator.http.internal.hpack.StringReader int
8: putfield jdk.incubator.http.internal.hpack.StringReader.huffman:Z
9: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.StringReader.state:I
10: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.intReader:Ljdk/incubator/http/internal/hpack/IntegerReader;
bipush 7
invokevirtual jdk.incubator.http.internal.hpack.IntegerReader.configure:(I)Ljdk/incubator/http/internal/hpack/IntegerReader;
pop
end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
iconst_1
if_icmpne 17
12: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.intReader:Ljdk/incubator/http/internal/hpack/IntegerReader;
aload 1
invokevirtual jdk.incubator.http.internal.hpack.IntegerReader.read:(Ljava/nio/ByteBuffer;)Z
istore 3
start local 3 13: iload 3
ifne 15
14: iconst_0
ireturn
15: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.intReader:Ljdk/incubator/http/internal/hpack/IntegerReader;
invokevirtual jdk.incubator.http.internal.hpack.IntegerReader.get:()I
putfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
16: aload 0
iconst_2
putfield jdk.incubator.http.internal.hpack.StringReader.state:I
end local 3 17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
iconst_2
if_icmpne 33
18: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
if_icmplt 19
iconst_1
goto 20
StackMap locals:
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 3
start local 3 21: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 4
start local 4 22: iload 3
ifeq 24
23: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
24: StackMap locals: int int
StackMap stack:
aload 0
dup
getfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
invokestatic java.lang.Math.min:(II)I
isub
putfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
25: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffman:Z
ifeq 28
26: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffmanReader:Ljdk/incubator/http/internal/hpack/Huffman$Reader;
aload 1
aload 2
iload 3
invokevirtual jdk.incubator.http.internal.hpack.Huffman$Reader.read:(Ljava/nio/ByteBuffer;Ljava/lang/Appendable;Z)V
27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.plainReader:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Reader;
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.hpack.ISO_8859_1$Reader.read:(Ljava/nio/ByteBuffer;Ljava/lang/Appendable;)V
29: StackMap locals:
StackMap stack:
iload 3
ifeq 32
30: aload 1
iload 4
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
31: aload 0
iconst_4
putfield jdk.incubator.http.internal.hpack.StringReader.state:I
32: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 33: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
34: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffman:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_2
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.remainingLength:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
35: invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljdk/incubator/http/internal/hpack/StringReader;
0 36 1 input Ljava/nio/ByteBuffer;
0 36 2 output Ljava/lang/Appendable;
6 11 3 p I
13 17 3 lengthRead Z
21 33 3 isLast Z
22 33 4 oldLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
output
boolean isHuffmanEncoded();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.state:I
iconst_1
if_icmpge 2
1: new java.lang.IllegalStateException
dup
ldc "Has not been fully read yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffman:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/hpack/StringReader;
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffman:Z
ifeq 3
1: aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.huffmanReader:Ljdk/incubator/http/internal/hpack/Huffman$Reader;
invokevirtual jdk.incubator.http.internal.hpack.Huffman$Reader.reset:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.plainReader:Ljdk/incubator/http/internal/hpack/ISO_8859_1$Reader;
invokevirtual jdk.incubator.http.internal.hpack.ISO_8859_1$Reader.reset:()Ljdk/incubator/http/internal/hpack/ISO_8859_1$Reader;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.StringReader.intReader:Ljdk/incubator/http/internal/hpack/IntegerReader;
invokevirtual jdk.incubator.http.internal.hpack.IntegerReader.reset:()Ljdk/incubator/http/internal/hpack/IntegerReader;
pop
5: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.StringReader.state:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/http/internal/hpack/StringReader;
}
SourceFile: "StringReader.java"
InnerClasses:
final Reader = jdk.incubator.http.internal.hpack.Huffman$Reader of jdk.incubator.http.internal.hpack.Huffman
public final Reader = jdk.incubator.http.internal.hpack.ISO_8859_1$Reader of jdk.incubator.http.internal.hpack.ISO_8859_1