public class org.glassfish.grizzly.http2.hpack.Encoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http2.hpack.Encoder
super_class: java.lang.Object
{
private static final boolean DEFAULT_HUFFMAN;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final org.glassfish.grizzly.http2.hpack.IndexedWriter indexedWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/IndexedWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.LiteralWriter literalWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/LiteralWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.LiteralNeverIndexedWriter literalNeverIndexedWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/LiteralNeverIndexedWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter literalWithIndexingWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.SizeUpdateWriter sizeUpdateWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/SizeUpdateWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter bulkSizeUpdateWriter;
descriptor: Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http2.hpack.BinaryRepresentationWriter writer;
descriptor: Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.http2.hpack.HeaderTable ;
descriptor: Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean encoding;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int maxCapacity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currCapacity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastCapacity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long minCapacity;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean capacityUpdate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean configuredCapacityUpdate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.glassfish.grizzly.http2.hpack.IndexedWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.IndexedWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.indexedWriter:Lorg/glassfish/grizzly/http2/hpack/IndexedWriter;
2: aload 0
new org.glassfish.grizzly.http2.hpack.LiteralWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.LiteralWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.literalWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWriter;
3: aload 0
new org.glassfish.grizzly.http2.hpack.LiteralNeverIndexedWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.LiteralNeverIndexedWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.literalNeverIndexedWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralNeverIndexedWriter;
4: aload 0
new org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.literalWithIndexingWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
5: aload 0
new org.glassfish.grizzly.http2.hpack.SizeUpdateWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.SizeUpdateWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.sizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/SizeUpdateWriter;
6: aload 0
new org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter
dup
invokespecial org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter.<init>:()V
putfield org.glassfish.grizzly.http2.hpack.Encoder.bulkSizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
7: iload 1
ifge 9
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxCapacity >= 0: "
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.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.glassfish.grizzly.http2.hpack.Encoder int
StackMap stack:
aload 0
ldc 9223372036854775807
putfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
10: aload 0
iconst_m1
putfield org.glassfish.grizzly.http2.hpack.Encoder.currCapacity:I
11: aload 0
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.setMaxCapacity:(I)V
12: aload 0
new org.glassfish.grizzly.http2.hpack.HeaderTable
dup
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
invokespecial org.glassfish.grizzly.http2.hpack.HeaderTable.<init>:(I)V
putfield org.glassfish.grizzly.http2.hpack.Encoder.headerTable:Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 14 1 maxCapacity I
MethodParameters:
Name Flags
maxCapacity
public void (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.header:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 2 1 name Ljava/lang/CharSequence;
0 2 2 value Ljava/lang/CharSequence;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
name
value
public void (java.lang.CharSequence, java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "value"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.getHeaderTable:()Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
astore 4
start local 4 3: aload 4
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.hpack.HeaderTable.indexOf:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
istore 5
start local 5 4: iload 5
ifle 7
5: aload 0
iload 5
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.indexed:(I)V
6: goto 17
StackMap locals: org.glassfish.grizzly.http2.hpack.HeaderTable int
StackMap stack:
7: iload 5
ifge 13
8: iload 3
ifeq 11
9: aload 0
iload 5
ineg
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.literalNeverIndexed:(ILjava/lang/CharSequence;Z)V
10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
iload 5
ineg
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.literal:(ILjava/lang/CharSequence;Z)V
12: goto 17
13: StackMap locals:
StackMap stack:
iload 3
ifeq 16
14: aload 0
aload 1
iconst_1
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.literalNeverIndexed:(Ljava/lang/CharSequence;ZLjava/lang/CharSequence;Z)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.literal:(Ljava/lang/CharSequence;ZLjava/lang/CharSequence;Z)V
17: StackMap locals:
StackMap stack:
return
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 18 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 18 1 name Ljava/lang/CharSequence;
0 18 2 value Ljava/lang/CharSequence;
0 18 3 sensitive Z
3 18 4 t Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
4 18 5 index I
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
name
value
sensitive
public void setMaxCapacity(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "capacity >= 0: "
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.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.calculateCapacity:(I)I
istore 2
start local 2 4: iload 2
iflt 5
iload 2
iload 1
if_icmple 6
5: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "0 <= calculated <= capacity: calculated=%s, capacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.capacityUpdate:Z
7: aload 0
iload 1
putfield org.glassfish.grizzly.http2.hpack.Encoder.maxCapacity:I
8: aload 0
iload 2
putfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
9: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
i2l
invokestatic java.lang.Math.min:(JJ)J
putfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 11 1 capacity I
4 11 2 calculated I
MethodParameters:
Name Flags
capacity
protected int calculateCapacity(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 1 1 maxCapacity I
MethodParameters:
Name Flags
maxCapacity
public final boolean encode(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "A header hasn't been set up"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.prependWithCapacityUpdate:(Lorg/glassfish/grizzly/Buffer;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.headerTable:Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
aload 1
invokeinterface org.glassfish.grizzly.http2.hpack.BinaryRepresentationWriter.write:(Lorg/glassfish/grizzly/http2/hpack/HeaderTable;Lorg/glassfish/grizzly/Buffer;)Z
istore 2
start local 2 5: iload 2
ifeq 8
6: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
invokeinterface org.glassfish.grizzly.http2.hpack.BinaryRepresentationWriter.reset:()Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
pop
7: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
8: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 9 1 headerBlock Lorg/glassfish/grizzly/Buffer;
5 9 2 done Z
MethodParameters:
Name Flags
headerBlock
private boolean prependWithCapacityUpdate(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.capacityUpdate:Z
ifeq 20
1: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.configuredCapacityUpdate:Z
ifne 12
2: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.currCapacity:I
i2l
lcmp
ifge 8
4: aload 2
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
i2l
lcmp
ifeq 10
6: aload 2
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 10
StackMap locals: java.util.List
StackMap stack:
8: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.currCapacity:I
if_icmpeq 10
9: aload 2
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.bulkSizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
aload 2
invokevirtual org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter.maxHeaderTableSizes:(Ljava/lang/Iterable;)Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
pop
11: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.configuredCapacityUpdate:Z
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.bulkSizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.headerTable:Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
aload 1
invokevirtual org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter.write:(Lorg/glassfish/grizzly/http2/hpack/HeaderTable;Lorg/glassfish/grizzly/Buffer;)Z
istore 2
start local 2 13: iload 2
ifeq 19
14: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
i2l
putfield org.glassfish.grizzly.http2.hpack.Encoder.minCapacity:J
15: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.lastCapacity:I
putfield org.glassfish.grizzly.http2.hpack.Encoder.currCapacity:I
16: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.bulkSizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
invokevirtual org.glassfish.grizzly.http2.hpack.BulkSizeUpdateWriter.reset:()Lorg/glassfish/grizzly/http2/hpack/BulkSizeUpdateWriter;
pop
17: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.Encoder.capacityUpdate:Z
18: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.hpack.Encoder.configuredCapacityUpdate:Z
19: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 20: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 21 1 headerBlock Lorg/glassfish/grizzly/Buffer;
3 12 2 sizes Ljava/util/List<Ljava/lang/Integer;>;
13 20 2 done Z
MethodParameters:
Name Flags
headerBlock
protected final void indexed(int);
descriptor: (I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.indexedWriter:Lorg/glassfish/grizzly/http2/hpack/IndexedWriter;
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.IndexedWriter.index:(I)Lorg/glassfish/grizzly/http2/hpack/IndexedWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 index I
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
protected final void literal(int, java.lang.CharSequence, boolean);
descriptor: (ILjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWriter;
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWriter.index:(I)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
aload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 index I
0 4 2 value Ljava/lang/CharSequence;
0 4 3 useHuffman Z
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
value
useHuffman
protected final void literal(java.lang.CharSequence, boolean, java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;ZLjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWriter;
aload 1
iload 2
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWriter.name:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
aload 3
iload 4
invokevirtual org.glassfish.grizzly.http2.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 name Ljava/lang/CharSequence;
0 4 2 nameHuffman Z
0 4 3 value Ljava/lang/CharSequence;
0 4 4 valueHuffman Z
MethodParameters:
Name Flags
name
nameHuffman
value
valueHuffman
protected final void literalNeverIndexed(int, java.lang.CharSequence, boolean);
descriptor: (ILjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalNeverIndexedWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralNeverIndexedWriter;
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralNeverIndexedWriter.index:(I)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
aload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 index I
0 4 2 value Ljava/lang/CharSequence;
0 4 3 valueHuffman Z
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
value
valueHuffman
protected final void literalNeverIndexed(java.lang.CharSequence, boolean, java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;ZLjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalNeverIndexedWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralNeverIndexedWriter;
aload 1
iload 2
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralNeverIndexedWriter.name:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
aload 3
iload 4
invokevirtual org.glassfish.grizzly.http2.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/IndexNameValueWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 name Ljava/lang/CharSequence;
0 4 2 nameHuffman Z
0 4 3 value Ljava/lang/CharSequence;
0 4 4 valueHuffman Z
MethodParameters:
Name Flags
name
nameHuffman
value
valueHuffman
protected final void literalWithIndexing(int, java.lang.CharSequence, boolean);
descriptor: (ILjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalWithIndexingWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter.index:(I)Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
aload 2
iload 3
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 index I
0 4 2 value Ljava/lang/CharSequence;
0 4 3 valueHuffman Z
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
value
valueHuffman
protected final void literalWithIndexing(java.lang.CharSequence, boolean, java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;ZLjava/lang/CharSequence;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.literalWithIndexingWriter:Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
aload 1
iload 2
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter.name:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
aload 3
iload 4
invokevirtual org.glassfish.grizzly.http2.hpack.LiteralWithIndexingWriter.value:(Ljava/lang/CharSequence;Z)Lorg/glassfish/grizzly/http2/hpack/LiteralWithIndexingWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 4 1 name Ljava/lang/CharSequence;
0 4 2 nameHuffman Z
0 4 3 value Ljava/lang/CharSequence;
0 4 4 valueHuffman Z
MethodParameters:
Name Flags
name
nameHuffman
value
valueHuffman
protected final void sizeUpdate(int);
descriptor: (I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.checkEncoding:()V
1: iload 1
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.maxCapacity:I
if_icmple 3
2: new java.lang.IllegalArgumentException
dup
ldc "capacity <= maxCapacity: capacity=%s, maxCapacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.maxCapacity:I
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.sizeUpdateWriter:Lorg/glassfish/grizzly/http2/hpack/SizeUpdateWriter;
iload 1
invokevirtual org.glassfish.grizzly.http2.hpack.SizeUpdateWriter.maxHeaderTableSize:(I)Lorg/glassfish/grizzly/http2/hpack/SizeUpdateWriter;
putfield org.glassfish.grizzly.http2.hpack.Encoder.writer:Lorg/glassfish/grizzly/http2/hpack/BinaryRepresentationWriter;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
0 5 1 capacity I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
capacity
protected final int getMaxCapacity();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.maxCapacity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
protected final org.glassfish.grizzly.http2.hpack.HeaderTable ();
descriptor: ()Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.headerTable:Lorg/glassfish/grizzly/http2/hpack/HeaderTable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
protected final void checkEncoding();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.hpack.Encoder.encoding:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Previous encoding operation hasn't finished yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/hpack/Encoder;
}
SourceFile: "Encoder.java"