public class jdk.incubator.http.internal.hpack.Encoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.IndexedWriter indexedWriter;
descriptor: Ljdk/incubator/http/internal/hpack/IndexedWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.LiteralWriter literalWriter;
descriptor: Ljdk/incubator/http/internal/hpack/LiteralWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.LiteralNeverIndexedWriter literalNeverIndexedWriter;
descriptor: Ljdk/incubator/http/internal/hpack/LiteralNeverIndexedWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter literalWithIndexingWriter;
descriptor: Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.SizeUpdateWriter sizeUpdateWriter;
descriptor: Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter bulkSizeUpdateWriter;
descriptor: Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.incubator.http.internal.hpack.BinaryRepresentationWriter writer;
descriptor: Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
flags: (0x0002) ACC_PRIVATE
private final jdk.incubator.http.internal.hpack.HeaderTable ;
descriptor: Ljdk/incubator/http/internal/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 jdk.incubator.http.internal.hpack.IndexedWriter
dup
invokespecial jdk.incubator.http.internal.hpack.IndexedWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.indexedWriter:Ljdk/incubator/http/internal/hpack/IndexedWriter;
2: aload 0
new jdk.incubator.http.internal.hpack.LiteralWriter
dup
invokespecial jdk.incubator.http.internal.hpack.LiteralWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.literalWriter:Ljdk/incubator/http/internal/hpack/LiteralWriter;
3: aload 0
4: new jdk.incubator.http.internal.hpack.LiteralNeverIndexedWriter
dup
invokespecial jdk.incubator.http.internal.hpack.LiteralNeverIndexedWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.literalNeverIndexedWriter:Ljdk/incubator/http/internal/hpack/LiteralNeverIndexedWriter;
5: aload 0
6: new jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter
dup
invokespecial jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.literalWithIndexingWriter:Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
7: aload 0
new jdk.incubator.http.internal.hpack.SizeUpdateWriter
dup
invokespecial jdk.incubator.http.internal.hpack.SizeUpdateWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.sizeUpdateWriter:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
8: aload 0
9: new jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter
dup
invokespecial jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.Encoder.bulkSizeUpdateWriter:Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
10: iload 1
ifge 12
11: 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
12: StackMap locals: jdk.incubator.http.internal.hpack.Encoder int
StackMap stack:
aload 0
ldc 9223372036854775807
putfield jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
13: aload 0
iconst_m1
putfield jdk.incubator.http.internal.hpack.Encoder.currCapacity:I
14: aload 0
iload 1
invokevirtual jdk.incubator.http.internal.hpack.Encoder.setMaxCapacity:(I)V
15: aload 0
new jdk.incubator.http.internal.hpack.HeaderTable
dup
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
invokespecial jdk.incubator.http.internal.hpack.HeaderTable.<init>:(I)V
putfield jdk.incubator.http.internal.hpack.Encoder.headerTable:Ljdk/incubator/http/internal/hpack/HeaderTable;
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 17 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 jdk.incubator.http.internal.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 Ljdk/incubator/http/internal/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 jdk.incubator.http.internal.hpack.Encoder.getHeaderTable:()Ljdk/incubator/http/internal/hpack/HeaderTable;
astore 4
start local 4 3: aload 4
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.indexed:(I)V
6: goto 17
StackMap locals: jdk.incubator.http.internal.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 jdk.incubator.http.internal.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 jdk.incubator.http.internal.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 jdk.incubator.http.internal.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 jdk.incubator.http.internal.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 Ljdk/incubator/http/internal/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 Ljdk/incubator/http/internal/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 jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.calculateCapacity:(I)I
istore 2
start local 2 4: iload 2
iflt 5
iload 2
iload 1
if_icmple 10
5: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
6: ldc "0 <= calculated <= capacity: calculated=%s, capacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
7: 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
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.capacityUpdate:Z
11: aload 0
iload 1
putfield jdk.incubator.http.internal.hpack.Encoder.maxCapacity:I
12: aload 0
iload 2
putfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
13: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
i2l
invokestatic java.lang.Math.min:(JJ)J
putfield jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 15 1 capacity I
4 15 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 Ljdk/incubator/http/internal/hpack/Encoder;
0 1 1 maxCapacity I
MethodParameters:
Name Flags
maxCapacity
public final boolean encode(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)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 jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.prependWithCapacityUpdate:(Ljava/nio/ByteBuffer;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.headerTable:Ljdk/incubator/http/internal/hpack/HeaderTable;
aload 1
invokeinterface jdk.incubator.http.internal.hpack.BinaryRepresentationWriter.write:(Ljdk/incubator/http/internal/hpack/HeaderTable;Ljava/nio/ByteBuffer;)Z
istore 2
start local 2 5: iload 2
ifeq 8
6: aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
invokeinterface jdk.incubator.http.internal.hpack.BinaryRepresentationWriter.reset:()Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
pop
7: aload 0
iconst_0
putfield jdk.incubator.http.internal.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 Ljdk/incubator/http/internal/hpack/Encoder;
0 9 1 headerBlock Ljava/nio/ByteBuffer;
5 9 2 done Z
MethodParameters:
Name Flags
headerBlock
private boolean prependWithCapacityUpdate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.capacityUpdate:Z
ifeq 20
1: aload 0
getfield jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.currCapacity:I
i2l
lcmp
ifge 8
4: aload 2
aload 0
getfield jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
i2l
lcmp
ifeq 10
6: aload 2
aload 0
getfield jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.currCapacity:I
if_icmpeq 10
9: aload 2
aload 0
getfield jdk.incubator.http.internal.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 jdk.incubator.http.internal.hpack.Encoder.bulkSizeUpdateWriter:Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
aload 2
invokevirtual jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.maxHeaderTableSizes:(Ljava/lang/Iterable;)Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
pop
11: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.configuredCapacityUpdate:Z
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.bulkSizeUpdateWriter:Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.headerTable:Ljdk/incubator/http/internal/hpack/HeaderTable;
aload 1
invokevirtual jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.write:(Ljdk/incubator/http/internal/hpack/HeaderTable;Ljava/nio/ByteBuffer;)Z
istore 2
start local 2 13: iload 2
ifeq 19
14: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
i2l
putfield jdk.incubator.http.internal.hpack.Encoder.minCapacity:J
15: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.lastCapacity:I
putfield jdk.incubator.http.internal.hpack.Encoder.currCapacity:I
16: aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.bulkSizeUpdateWriter:Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
invokevirtual jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.reset:()Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
pop
17: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.Encoder.capacityUpdate:Z
18: aload 0
iconst_0
putfield jdk.incubator.http.internal.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 Ljdk/incubator/http/internal/hpack/Encoder;
0 21 1 headerBlock Ljava/nio/ByteBuffer;
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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.indexedWriter:Ljdk/incubator/http/internal/hpack/IndexedWriter;
iload 1
invokevirtual jdk.incubator.http.internal.hpack.IndexedWriter.index:(I)Ljdk/incubator/http/internal/hpack/IndexedWriter;
putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalWriter:Ljdk/incubator/http/internal/hpack/LiteralWriter;
3: iload 1
invokevirtual jdk.incubator.http.internal.hpack.LiteralWriter.index:(I)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
aload 2
iload 3
invokevirtual jdk.incubator.http.internal.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 index I
0 6 2 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalWriter:Ljdk/incubator/http/internal/hpack/LiteralWriter;
3: aload 1
iload 2
invokevirtual jdk.incubator.http.internal.hpack.LiteralWriter.name:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
aload 3
iload 4
invokevirtual jdk.incubator.http.internal.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 name Ljava/lang/CharSequence;
0 6 2 nameHuffman Z
0 6 3 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalNeverIndexedWriter:Ljdk/incubator/http/internal/hpack/LiteralNeverIndexedWriter;
3: iload 1
invokevirtual jdk.incubator.http.internal.hpack.LiteralNeverIndexedWriter.index:(I)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
aload 2
iload 3
invokevirtual jdk.incubator.http.internal.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 index I
0 6 2 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalNeverIndexedWriter:Ljdk/incubator/http/internal/hpack/LiteralNeverIndexedWriter;
3: aload 1
iload 2
invokevirtual jdk.incubator.http.internal.hpack.LiteralNeverIndexedWriter.name:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
aload 3
iload 4
invokevirtual jdk.incubator.http.internal.hpack.IndexNameValueWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/IndexNameValueWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 name Ljava/lang/CharSequence;
0 6 2 nameHuffman Z
0 6 3 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalWithIndexingWriter:Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
3: iload 1
invokevirtual jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter.index:(I)Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
aload 2
iload 3
invokevirtual jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 index I
0 6 2 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.Encoder.encoding:Z
2: aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.literalWithIndexingWriter:Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
3: aload 1
iload 2
invokevirtual jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter.name:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
aload 3
iload 4
invokevirtual jdk.incubator.http.internal.hpack.LiteralWithIndexingWriter.value:(Ljava/lang/CharSequence;Z)Ljdk/incubator/http/internal/hpack/LiteralWithIndexingWriter;
4: putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 6 1 name Ljava/lang/CharSequence;
0 6 2 nameHuffman Z
0 6 3 value Ljava/lang/CharSequence;
0 6 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 jdk.incubator.http.internal.hpack.Encoder.checkEncoding:()V
1: iload 1
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.maxCapacity:I
if_icmple 7
2: new java.lang.IllegalArgumentException
dup
3: ldc "capacity <= maxCapacity: capacity=%s, maxCapacity=%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.maxCapacity:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.sizeUpdateWriter:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
iload 1
invokevirtual jdk.incubator.http.internal.hpack.SizeUpdateWriter.maxHeaderTableSize:(I)Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
putfield jdk.incubator.http.internal.hpack.Encoder.writer:Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/http/internal/hpack/Encoder;
0 9 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 jdk.incubator.http.internal.hpack.Encoder.maxCapacity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/hpack/Encoder;
protected final jdk.incubator.http.internal.hpack.HeaderTable ();
descriptor: ()Ljdk/incubator/http/internal/hpack/HeaderTable;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.hpack.Encoder.headerTable:Ljdk/incubator/http/internal/hpack/HeaderTable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/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 jdk.incubator.http.internal.hpack.Encoder.encoding:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "Previous encoding operation hasn't finished yet"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/internal/hpack/Encoder;
}
SourceFile: "Encoder.java"