final class org.glassfish.grizzly.http2.hpack.StringWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http2.hpack.StringWriter
super_class: java.lang.Object
{
private static final byte NEW;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte CONFIGURED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte LENGTH_WRITTEN;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final byte DONE;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private final org.glassfish.grizzly.http2.hpack.IntegerWriter intWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.Huffman$Writer huffmanWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer plainWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte state;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private boolean huffman;
descriptor: Z
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 org.glassfish.grizzly.http2.hpack.IntegerWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.IntegerWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.StringWriter.intWriter:Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
2: aload 0
new org.glassfish.grizzly.http2.hpack.Huffman$Writer
dup
invokespecial org.glassfish.grizzly.http2.hpack.Huffman$Writer.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.StringWriter.huffmanWriter:Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
3: aload 0
new org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer
dup
invokespecial org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.StringWriter.plainWriter:Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
4: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http2/hpack/StringWriter;
org.glassfish.grizzly.http2.hpack.StringWriter configure(java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/StringWriter;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
iload 2
invokevirtual org.glassfish.grizzly.http2.hpack.StringWriter.configure:(Ljava/lang/CharSequence;IIZ)Lorg/glassfish/grizzly/http2/hpack/StringWriter;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/hpack/StringWriter;
0 1 1 input Ljava/lang/CharSequence;
0 1 2 huffman Z
MethodParameters:
Name Flags
input
huffman
org.glassfish.grizzly.http2.hpack.StringWriter configure(java.lang.CharSequence, int, int, boolean);
descriptor: (Ljava/lang/CharSequence;IIZ)Lorg/glassfish/grizzly/http2/hpack/StringWriter;
flags: (0x0000)
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
iflt 1
iload 3
iflt 1
iload 3
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmpgt 1
iload 2
iload 3
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "input.length()=%s, start=%s, end=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
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
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 4
ifne 6
3: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.plainWriter:Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
aload 1
iload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer.configure:(Ljava/lang/CharSequence;II)Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
pop
4: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.intWriter:Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
iload 3
iload 2
isub
bipush 7
iconst_0
invokevirtual org.glassfish.grizzly.http2.hpack.IntegerWriter.configure:(III)Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
pop
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffmanWriter:Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
aload 1
iload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.Huffman$Writer.from:(Ljava/lang/CharSequence;II)Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
pop
7: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.intWriter:Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
getstatic org.glassfish.grizzly.http2.hpack.Huffman.INSTANCE:Lorg/glassfish/grizzly/http2/hpack/Huffman;
aload 1
iload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.Huffman.lengthOf:(Ljava/lang/CharSequence;II)I
bipush 7
sipush 128
invokevirtual org.glassfish.grizzly.http2.hpack.IntegerWriter.configure:(III)Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
pop
8: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield org.glassfish.grizzly.http2.hpack.StringWriter.huffman:Z
9: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
10: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http2/hpack/StringWriter;
0 11 1 input Ljava/lang/CharSequence;
0 11 2 start I
0 11 3 end I
0 11 4 huffman Z
MethodParameters:
Name Flags
input
start
end
huffman
boolean write(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
iconst_4
if_icmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "Configure first"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
iconst_1
if_icmpne 11
7: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.intWriter:Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
aload 1
invokevirtual org.glassfish.grizzly.http2.hpack.IntegerWriter.write:(Lorg/glassfish/grizzly/Buffer;)Z
ifeq 10
8: aload 0
iconst_2
putfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
9: goto 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
iconst_2
if_icmpne 19
12: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffman:Z
ifeq 13
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffmanWriter:Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
aload 1
invokevirtual org.glassfish.grizzly.http2.hpack.Huffman$Writer.write:(Lorg/glassfish/grizzly/Buffer;)Z
goto 14
StackMap locals:
StackMap stack:
13: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.plainWriter:Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
aload 1
invokevirtual org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer.write:(Lorg/glassfish/grizzly/Buffer;)Z
StackMap locals:
StackMap stack: int
14: istore 2
start local 2 15: iload 2
ifeq 18
16: aload 0
iconst_4
putfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
17: iconst_1
ireturn
18: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 2 19: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffman:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)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 20 0 this Lorg/glassfish/grizzly/http2/hpack/StringWriter;
0 20 1 output Lorg/glassfish/grizzly/Buffer;
15 19 2 written Z
MethodParameters:
Name Flags
output
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.intWriter:Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
invokevirtual org.glassfish.grizzly.http2.hpack.IntegerWriter.reset:()Lorg/glassfish/grizzly/http2/hpack/IntegerWriter;
pop
1: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffman:Z
ifeq 4
2: aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.huffmanWriter:Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
invokevirtual org.glassfish.grizzly.http2.hpack.Huffman$Writer.reset:()Lorg/glassfish/grizzly/http2/hpack/Huffman$Writer;
pop
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.StringWriter.plainWriter:Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
invokevirtual org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer.reset:()Lorg/glassfish/grizzly/http2/hpack/ISO_8859_1$Writer;
pop
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.StringWriter.state:B
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http2/hpack/StringWriter;
}
SourceFile: "StringWriter.java"
InnerClasses:
final Writer = org.glassfish.grizzly.http2.hpack.Huffman$Writer of org.glassfish.grizzly.http2.hpack.Huffman
public final Writer = org.glassfish.grizzly.http2.hpack.ISO_8859_1$Writer of org.glassfish.grizzly.http2.hpack.ISO_8859_1