final class io.netty.handler.codec.http2.HpackEncoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.HpackEncoder
super_class: java.lang.Object
{
private final io.netty.handler.codec.http2.HpackEncoder$HeaderEntry[] headerFields;
descriptor: [Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.HpackEncoder$HeaderEntry head;
descriptor: Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.HpackHuffmanEncoder hpackHuffmanEncoder;
descriptor: Lio/netty/handler/codec/http2/HpackHuffmanEncoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte hashMask;
descriptor: B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ignoreMaxHeaderListSize;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long size;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxHeaderTableSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxHeaderListSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$io$netty$handler$codec$http2$HpackUtil$IndexType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/handler/codec/http2/HpackEncoder;
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 io.netty.handler.codec.http2.HpackEncoder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial io.netty.handler.codec.http2.HpackEncoder.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/HpackEncoder;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 16
invokespecial io.netty.handler.codec.http2.HpackEncoder.<init>:(ZI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 2 1 ignoreMaxHeaderListSize Z
MethodParameters:
Name Flags
ignoreMaxHeaderListSize
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
dup
iconst_m1
getstatic io.netty.util.AsciiString.EMPTY_STRING:Lio/netty/util/AsciiString;
2: getstatic io.netty.util.AsciiString.EMPTY_STRING:Lio/netty/util/AsciiString;
ldc 2147483647
aconst_null
3: invokespecial io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.<init>:(ILjava/lang/CharSequence;Ljava/lang/CharSequence;ILio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V
putfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
4: aload 0
new io.netty.handler.codec.http2.HpackHuffmanEncoder
dup
invokespecial io.netty.handler.codec.http2.HpackHuffmanEncoder.<init>:()V
putfield io.netty.handler.codec.http2.HpackEncoder.hpackHuffmanEncoder:Lio/netty/handler/codec/http2/HpackHuffmanEncoder;
5: aload 0
iload 1
putfield io.netty.handler.codec.http2.HpackEncoder.ignoreMaxHeaderListSize:Z
6: aload 0
ldc 4096
putfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
7: aload 0
ldc 4294967295
putfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderListSize:J
8: aload 0
iconst_2
iload 2
sipush 128
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.max:(II)I
invokestatic io.netty.util.internal.MathUtil.findNextPositivePowerOfTwo:(I)I
anewarray io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
putfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
9: aload 0
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
arraylength
iconst_1
isub
i2b
putfield io.netty.handler.codec.http2.HpackEncoder.hashMask:B
10: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
dup_x1
putfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.after:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
putfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 12 1 ignoreMaxHeaderListSize Z
0 12 2 arraySizeHint I
MethodParameters:
Name Flags
ignoreMaxHeaderListSize
arraySizeHint
public void encodeHeaders(int, io.netty.buffer.ByteBuf, io.netty.handler.codec.http2.Http2Headers, io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector);
descriptor: (ILio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.ignoreMaxHeaderListSize:Z
ifeq 3
1: aload 0
aload 2
aload 3
aload 4
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeHeadersIgnoreMaxHeaderListSize:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
aload 4
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeHeadersEnforceMaxHeaderListSize:(ILio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 5 1 streamId I
0 5 2 out Lio/netty/buffer/ByteBuf;
0 5 3 headers Lio/netty/handler/codec/http2/Http2Headers;
0 5 4 sensitivityDetector Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
out
headers
sensitivityDetector
private void encodeHeadersEnforceMaxHeaderListSize(int, io.netty.buffer.ByteBuf, io.netty.handler.codec.http2.Http2Headers, io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector);
descriptor: (ILio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: lconst_0
lstore 5
start local 5 1: aload 3
invokeinterface io.netty.handler.codec.http2.Http2Headers.iterator:()Ljava/util/Iterator;
astore 8
goto 8
StackMap locals: io.netty.handler.codec.http2.HpackEncoder int io.netty.buffer.ByteBuf io.netty.handler.codec.http2.Http2Headers io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector long top java.util.Iterator
StackMap stack:
2: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 3: aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 9
start local 9 4: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 10
start local 10 5: lload 5
aload 9
aload 10
invokestatic io.netty.handler.codec.http2.HpackHeaderField.sizeOf:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)J
ladd
lstore 5
6: lload 5
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderListSize:J
lcmp
ifle 8
7: iload 1
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderListSize:J
iconst_0
invokestatic io.netty.handler.codec.http2.Http2CodecUtil.headerListSizeExceeded:(IJZ)V
end local 10 end local 9 end local 7 8: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 0
aload 2
aload 3
aload 4
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeHeadersIgnoreMaxHeaderListSize:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
10: 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 11 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 11 1 streamId I
0 11 2 out Lio/netty/buffer/ByteBuf;
0 11 3 headers Lio/netty/handler/codec/http2/Http2Headers;
0 11 4 sensitivityDetector Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;
1 11 5 headerSize J
3 8 7 header Ljava/util/Map$Entry<Ljava/lang/CharSequence;Ljava/lang/CharSequence;>;
4 8 9 name Ljava/lang/CharSequence;
5 8 10 value Ljava/lang/CharSequence;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
out
headers
sensitivityDetector
private void encodeHeadersIgnoreMaxHeaderListSize(io.netty.buffer.ByteBuf, io.netty.handler.codec.http2.Http2Headers, io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector);
descriptor: (Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface io.netty.handler.codec.http2.Http2Headers.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf io.netty.handler.codec.http2.Http2Headers io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 2: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 6
start local 6 3: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 7
start local 7 4: aload 0
aload 1
aload 6
aload 7
aload 3
aload 6
aload 7
invokeinterface io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector.isSensitive:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
5: aload 6
aload 7
invokestatic io.netty.handler.codec.http2.HpackHeaderField.sizeOf:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)J
6: invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeHeader:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZJ)V
end local 7 end local 6 end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 9 1 out Lio/netty/buffer/ByteBuf;
0 9 2 headers Lio/netty/handler/codec/http2/Http2Headers;
0 9 3 sensitivityDetector Lio/netty/handler/codec/http2/Http2HeadersEncoder$SensitivityDetector;
2 7 4 header Ljava/util/Map$Entry<Ljava/lang/CharSequence;Ljava/lang/CharSequence;>;
3 7 6 name Ljava/lang/CharSequence;
4 7 7 value Ljava/lang/CharSequence;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
out
headers
sensitivityDetector
private void encodeHeader(io.netty.buffer.ByteBuf, java.lang.CharSequence, java.lang.CharSequence, boolean, long);
descriptor: (Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
ifeq 4
1: aload 0
aload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getNameIndex:(Ljava/lang/CharSequence;)I
istore 7
start local 7 2: aload 0
aload 1
aload 2
aload 3
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.NEVER:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
iload 7
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V
3: return
end local 7 4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
lconst_0
lcmp
ifne 12
5: aload 2
aload 3
invokestatic io.netty.handler.codec.http2.HpackStaticTable.getIndex:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
istore 7
start local 7 6: iload 7
iconst_m1
if_icmpne 10
7: aload 2
invokestatic io.netty.handler.codec.http2.HpackStaticTable.getIndex:(Ljava/lang/CharSequence;)I
istore 8
start local 8 8: aload 0
aload 1
aload 2
aload 3
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.NONE:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
iload 8
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V
end local 8 9: goto 11
10: StackMap locals: int
StackMap stack:
aload 1
sipush 128
bipush 7
iload 7
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
11: StackMap locals:
StackMap stack:
return
end local 7 12: StackMap locals:
StackMap stack:
lload 5
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
lcmp
ifle 16
13: aload 0
aload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getNameIndex:(Ljava/lang/CharSequence;)I
istore 7
start local 7 14: aload 0
aload 1
aload 2
aload 3
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.NONE:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
iload 7
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V
15: return
end local 7 16: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getEntry:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 7
start local 7 17: aload 7
ifnull 21
18: aload 0
aload 7
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getIndex:(I)I
getstatic io.netty.handler.codec.http2.HpackStaticTable.length:I
iadd
istore 8
start local 8 19: aload 1
sipush 128
bipush 7
iload 8
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
end local 8 20: goto 28
21: StackMap locals: io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 2
aload 3
invokestatic io.netty.handler.codec.http2.HpackStaticTable.getIndex:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
istore 8
start local 8 22: iload 8
iconst_m1
if_icmpeq 25
23: aload 1
sipush 128
bipush 7
iload 8
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
24: goto 28
25: StackMap locals: int
StackMap stack:
aload 0
lload 5
invokevirtual io.netty.handler.codec.http2.HpackEncoder.ensureCapacity:(J)V
26: aload 0
aload 1
aload 2
aload 3
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.INCREMENTAL:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
aload 0
aload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getNameIndex:(Ljava/lang/CharSequence;)I
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V
27: aload 0
aload 2
aload 3
lload 5
invokevirtual io.netty.handler.codec.http2.HpackEncoder.add:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;J)V
end local 8 28: StackMap locals:
StackMap stack:
return
end local 7 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 29 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 29 1 out Lio/netty/buffer/ByteBuf;
0 29 2 name Ljava/lang/CharSequence;
0 29 3 value Ljava/lang/CharSequence;
0 29 4 sensitive Z
0 29 5 headerSize J
2 4 7 nameIndex I
6 12 7 staticTableIndex I
8 9 8 nameIndex I
14 16 7 nameIndex I
17 29 7 headerField Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
19 20 8 index I
22 28 8 staticTableIndex I
MethodParameters:
Name Flags
out
name
value
sensitive
headerSize
public void setMaxHeaderTableSize(io.netty.buffer.ByteBuf, long);
descriptor: (Lio/netty/buffer/ByteBuf;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_0
lcmp
iflt 1
lload 2
ldc 4294967295
lcmp
ifle 4
1: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Header Table Size must be >= %d and <= %d but was %d"
iconst_3
anewarray java.lang.Object
dup
iconst_0
2: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
ldc 4294967295
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
3: invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
lload 2
lcmp
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
lload 2
putfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
7: aload 0
lconst_0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.ensureCapacity:(J)V
8: aload 1
bipush 32
iconst_5
lload 2
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;IIJ)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 10 1 out Lio/netty/buffer/ByteBuf;
0 10 2 maxHeaderTableSize J
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
out
maxHeaderTableSize
public long getMaxHeaderTableSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/HpackEncoder;
public void setMaxHeaderListSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
iflt 1
lload 1
ldc 4294967295
lcmp
ifle 4
1: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Header List Size must be >= %d and <= %d but was %d"
iconst_3
anewarray java.lang.Object
dup
iconst_0
2: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
ldc 4294967295
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
3: invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
4: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderListSize:J
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 6 1 maxHeaderListSize J
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
maxHeaderListSize
public long getMaxHeaderListSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderListSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/HpackEncoder;
private static void encodeInteger(io.netty.buffer.ByteBuf, int, int, int);
descriptor: (Lio/netty/buffer/ByteBuf;III)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
i2l
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;IIJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 out Lio/netty/buffer/ByteBuf;
0 2 1 mask I
0 2 2 n I
0 2 3 i I
MethodParameters:
Name Flags
out
mask
n
i
private static void encodeInteger(io.netty.buffer.ByteBuf, int, int, long);
descriptor: (Lio/netty/buffer/ByteBuf;IIJ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic io.netty.handler.codec.http2.HpackEncoder.$assertionsDisabled:Z
ifne 2
iload 2
iflt 1
iload 2
bipush 8
if_icmple 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "N: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
sipush 255
bipush 8
iload 2
isub
iushr
istore 5
start local 5 3: lload 3
iload 5
i2l
lcmp
ifge 6
4: aload 0
iload 1
i2l
lload 3
lor
l2i
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
5: goto 13
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 5
ior
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
7: lload 3
iload 5
i2l
lsub
lstore 6
start local 6 8: goto 11
9: StackMap locals: long
StackMap stack:
aload 0
lload 6
ldc 127
land
ldc 128
lor
l2i
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
10: lload 6
bipush 7
lushr
lstore 6
StackMap locals:
StackMap stack:
11: lload 6
ldc -128
land
lconst_0
lcmp
ifne 9
12: aload 0
lload 6
l2i
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
end local 6 13: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 out Lio/netty/buffer/ByteBuf;
0 14 1 mask I
0 14 2 n I
0 14 3 i J
3 14 5 nbits I
8 13 6 length J
MethodParameters:
Name Flags
out
mask
n
i
private void encodeStringLiteral(io.netty.buffer.ByteBuf, java.lang.CharSequence);
descriptor: (Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.hpackHuffmanEncoder:Lio/netty/handler/codec/http2/HpackHuffmanEncoder;
aload 2
invokevirtual io.netty.handler.codec.http2.HpackHuffmanEncoder.getEncodedLength:(Ljava/lang/CharSequence;)I
istore 3
start local 3 1: iload 3
aload 2
invokeinterface java.lang.CharSequence.length:()I
if_icmpge 5
2: aload 1
sipush 128
bipush 7
iload 3
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
3: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.hpackHuffmanEncoder:Lio/netty/handler/codec/http2/HpackHuffmanEncoder;
aload 1
aload 2
invokevirtual io.netty.handler.codec.http2.HpackHuffmanEncoder.encode:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)V
4: goto 11
5: StackMap locals: int
StackMap stack:
aload 1
iconst_0
bipush 7
aload 2
invokeinterface java.lang.CharSequence.length:()I
invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
6: aload 2
instanceof io.netty.util.AsciiString
ifeq 10
7: aload 2
checkcast io.netty.util.AsciiString
astore 4
start local 4 8: aload 1
aload 4
invokevirtual io.netty.util.AsciiString.array:()[B
aload 4
invokevirtual io.netty.util.AsciiString.arrayOffset:()I
aload 4
invokevirtual io.netty.util.AsciiString.length:()I
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([BII)Lio/netty/buffer/ByteBuf;
pop
end local 4 9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 2
getstatic io.netty.util.CharsetUtil.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.writeCharSequence:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
pop
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 12 1 out Lio/netty/buffer/ByteBuf;
0 12 2 string Ljava/lang/CharSequence;
1 12 3 huffmanLength I
8 9 4 asciiString Lio/netty/util/AsciiString;
MethodParameters:
Name Flags
out
string
private void encodeLiteral(io.netty.buffer.ByteBuf, java.lang.CharSequence, java.lang.CharSequence, io.netty.handler.codec.http2.HpackUtil$IndexType, int);
descriptor: (Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/handler/codec/http2/HpackUtil$IndexType;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 5
iconst_m1
if_icmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 6
start local 6 3: invokestatic io.netty.handler.codec.http2.HpackEncoder.$SWITCH_TABLE$io$netty$handler$codec$http2$HpackUtil$IndexType:()[I
aload 4
invokevirtual io.netty.handler.codec.http2.HpackUtil$IndexType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 8
3: 12
default: 16
}
4: StackMap locals: int
StackMap stack:
aload 1
bipush 64
bipush 6
iload 6
ifeq 5
iload 5
goto 6
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int
5: iconst_0
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int int
6: invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
7: goto 17
8: StackMap locals:
StackMap stack:
aload 1
iconst_0
iconst_4
iload 6
ifeq 9
iload 5
goto 10
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int
9: iconst_0
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int int
10: invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
11: goto 17
12: StackMap locals:
StackMap stack:
aload 1
bipush 16
iconst_4
iload 6
ifeq 13
iload 5
goto 14
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int
13: iconst_0
StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.buffer.ByteBuf java.lang.CharSequence java.lang.CharSequence io.netty.handler.codec.http2.HpackUtil$IndexType int int
StackMap stack: io.netty.buffer.ByteBuf int int int
14: invokestatic io.netty.handler.codec.http2.HpackEncoder.encodeInteger:(Lio/netty/buffer/ByteBuf;III)V
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.Error
dup
ldc "should not reach here"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
iload 6
ifne 19
18: aload 0
aload 1
aload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeStringLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)V
19: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual io.netty.handler.codec.http2.HpackEncoder.encodeStringLiteral:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)V
20: return
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 21 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 21 1 out Lio/netty/buffer/ByteBuf;
0 21 2 name Ljava/lang/CharSequence;
0 21 3 value Ljava/lang/CharSequence;
0 21 4 indexType Lio/netty/handler/codec/http2/HpackUtil$IndexType;
0 21 5 nameIndex I
3 21 6 nameIndexValid Z
MethodParameters:
Name Flags
out
name
value
indexType
nameIndex
private int getNameIndex(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.netty.handler.codec.http2.HpackStaticTable.getIndex:(Ljava/lang/CharSequence;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 5
2: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getIndex:(Ljava/lang/CharSequence;)I
istore 2
3: iload 2
iflt 5
4: iload 2
getstatic io.netty.handler.codec.http2.HpackStaticTable.length:I
iadd
istore 2
5: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 6 1 name Ljava/lang/CharSequence;
1 6 2 index I
MethodParameters:
Name Flags
name
private void ensureCapacity(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: goto 5
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.length:()I
istore 3
start local 3 2: iload 3
ifne 4
3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.remove:()Lio/netty/handler/codec/http2/HpackHeaderField;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lsub
lload 1
lcmp
iflt 1
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 7 1 headerSize J
2 5 3 index I
MethodParameters:
Name Flags
headerSize
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lconst_0
lcmp
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.after:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
isub
iconst_1
iadd
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/HpackEncoder;
long size();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/HpackEncoder;
io.netty.handler.codec.http2.HpackHeaderField getHeaderField(int);
descriptor: (I)Lio/netty/handler/codec/http2/HpackHeaderField;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 2
start local 2 1: goto 3
2: StackMap locals: io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 2
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 2
3: StackMap locals:
StackMap stack:
iload 1
iinc 1 -1
ifge 2
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 5 1 index I
1 5 2 entry Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
MethodParameters:
Name Flags
index
private io.netty.handler.codec.http2.HpackEncoder$HeaderEntry getEntry(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.length:()I
ifeq 1
aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic io.netty.util.AsciiString.hashCode:(Ljava/lang/CharSequence;)I
istore 3
start local 3 3: aload 0
iload 3
invokevirtual io.netty.handler.codec.http2.HpackEncoder.index:(I)I
istore 4
start local 4 4: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 4
aaload
astore 5
start local 5 5: goto 9
6: StackMap locals: int int io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 5
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.hash:I
iload 3
if_icmpne 8
aload 1
aload 5
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.name:Ljava/lang/CharSequence;
invokestatic io.netty.handler.codec.http2.HpackUtil.equalsConstantTime:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
aload 2
aload 5
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.value:Ljava/lang/CharSequence;
invokestatic io.netty.handler.codec.http2.HpackUtil.equalsConstantTime:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
iand
ifeq 8
7: aload 5
areturn
8: StackMap locals:
StackMap stack:
aload 5
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.next:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 5
StackMap locals:
StackMap stack:
9: aload 5
ifnonnull 6
end local 5 10: aconst_null
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 Lio/netty/handler/codec/http2/HpackEncoder;
0 11 1 name Ljava/lang/CharSequence;
0 11 2 value Ljava/lang/CharSequence;
3 11 3 h I
4 11 4 i I
5 10 5 e Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
MethodParameters:
Name Flags
name
value
private int getIndex(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.length:()I
ifeq 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic io.netty.util.AsciiString.hashCode:(Ljava/lang/CharSequence;)I
istore 2
start local 2 3: aload 0
iload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.index:(I)I
istore 3
start local 3 4: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 3
aaload
astore 4
start local 4 5: goto 9
6: StackMap locals: int int io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 4
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.hash:I
iload 2
if_icmpne 8
aload 1
aload 4
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.name:Ljava/lang/CharSequence;
invokestatic io.netty.handler.codec.http2.HpackUtil.equalsConstantTime:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I
ifeq 8
7: aload 0
aload 4
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
invokevirtual io.netty.handler.codec.http2.HpackEncoder.getIndex:(I)I
ireturn
8: StackMap locals:
StackMap stack:
aload 4
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.next:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 4
StackMap locals:
StackMap stack:
9: aload 4
ifnonnull 6
end local 4 10: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 11 1 name Ljava/lang/CharSequence;
3 11 2 h I
4 11 3 i I
5 10 4 e Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
MethodParameters:
Name Flags
name
private int getIndex(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmpne 1
iconst_m1
goto 2
StackMap locals:
StackMap stack:
1: iload 1
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
isub
iconst_1
iadd
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 3 1 index I
MethodParameters:
Name Flags
index
private void add(java.lang.CharSequence, java.lang.CharSequence, long);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lload 3
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
lcmp
ifle 4
1: aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.clear:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.HpackEncoder.remove:()Lio/netty/handler/codec/http2/HpackHeaderField;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.maxHeaderTableSize:J
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lsub
lload 3
lcmp
iflt 3
5: aload 1
invokestatic io.netty.util.AsciiString.hashCode:(Ljava/lang/CharSequence;)I
istore 5
start local 5 6: aload 0
iload 5
invokevirtual io.netty.handler.codec.http2.HpackEncoder.index:(I)I
istore 6
start local 6 7: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 6
aaload
astore 7
start local 7 8: new io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
dup
iload 5
aload 1
aload 2
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.index:I
iconst_1
isub
aload 7
invokespecial io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.<init>:(ILjava/lang/CharSequence;Ljava/lang/CharSequence;ILio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V
astore 8
start local 8 9: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 6
aload 8
aastore
10: aload 8
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
invokevirtual io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.addBefore:(Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;)V
11: aload 0
dup
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lload 3
ladd
putfield io.netty.handler.codec.http2.HpackEncoder.size:J
12: return
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 13 1 name Ljava/lang/CharSequence;
0 13 2 value Ljava/lang/CharSequence;
0 13 3 headerSize J
6 13 5 h I
7 13 6 i I
8 13 7 old Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
9 13 8 e Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
MethodParameters:
Name Flags
name
value
headerSize
private io.netty.handler.codec.http2.HpackHeaderField remove();
descriptor: ()Lio/netty/handler/codec/http2/HpackHeaderField;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
lconst_0
lcmp
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.after:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 1
start local 1 3: aload 1
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.hash:I
istore 2
start local 2 4: aload 0
iload 2
invokevirtual io.netty.handler.codec.http2.HpackEncoder.index:(I)I
istore 3
start local 3 5: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 3
aaload
astore 4
start local 4 6: aload 4
astore 5
start local 5 7: goto 19
8: StackMap locals: io.netty.handler.codec.http2.HpackEncoder io.netty.handler.codec.http2.HpackEncoder$HeaderEntry int int io.netty.handler.codec.http2.HpackEncoder$HeaderEntry io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 5
getfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.next:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
astore 6
start local 6 9: aload 5
aload 1
if_acmpne 17
10: aload 4
aload 1
if_acmpne 13
11: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
iload 3
aload 6
aastore
12: goto 14
13: StackMap locals: io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
StackMap stack:
aload 4
aload 6
putfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.next:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.remove:()V
15: aload 0
dup
getfield io.netty.handler.codec.http2.HpackEncoder.size:J
aload 1
invokevirtual io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.size:()I
i2l
lsub
putfield io.netty.handler.codec.http2.HpackEncoder.size:J
16: aload 1
areturn
17: StackMap locals:
StackMap stack:
aload 5
astore 4
18: aload 6
astore 5
end local 6 19: StackMap locals:
StackMap stack:
aload 5
ifnonnull 8
20: aconst_null
areturn
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 21 0 this Lio/netty/handler/codec/http2/HpackEncoder;
3 21 1 eldest Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
4 21 2 h I
5 21 3 i I
6 21 4 prev Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
7 21 5 e Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
9 19 6 next Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
private void clear();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.headerFields:[Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.head:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
dup_x1
putfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.after:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
putfield io.netty.handler.codec.http2.HpackEncoder$HeaderEntry.before:Lio/netty/handler/codec/http2/HpackEncoder$HeaderEntry;
2: aload 0
lconst_0
putfield io.netty.handler.codec.http2.HpackEncoder.size:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http2/HpackEncoder;
private int index(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield io.netty.handler.codec.http2.HpackEncoder.hashMask:B
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/HpackEncoder;
0 1 1 h I
MethodParameters:
Name Flags
h
static int[] $SWITCH_TABLE$io$netty$handler$codec$http2$HpackUtil$IndexType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.netty.handler.codec.http2.HpackEncoder.$SWITCH_TABLE$io$netty$handler$codec$http2$HpackUtil$IndexType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.netty.handler.codec.http2.HpackUtil$IndexType.values:()[Lio/netty/handler/codec/http2/HpackUtil$IndexType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.INCREMENTAL:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
invokevirtual io.netty.handler.codec.http2.HpackUtil$IndexType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.NEVER:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
invokevirtual io.netty.handler.codec.http2.HpackUtil$IndexType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.netty.handler.codec.http2.HpackUtil$IndexType.NONE:Lio/netty/handler/codec/http2/HpackUtil$IndexType;
invokevirtual io.netty.handler.codec.http2.HpackUtil$IndexType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.netty.handler.codec.http2.HpackEncoder.$SWITCH_TABLE$io$netty$handler$codec$http2$HpackUtil$IndexType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "HpackEncoder.java"
NestMembers:
io.netty.handler.codec.http2.HpackEncoder$HeaderEntry
InnerClasses:
private final HeaderEntry = io.netty.handler.codec.http2.HpackEncoder$HeaderEntry of io.netty.handler.codec.http2.HpackEncoder
final IndexType = io.netty.handler.codec.http2.HpackUtil$IndexType of io.netty.handler.codec.http2.HpackUtil
public abstract SensitivityDetector = io.netty.handler.codec.http2.Http2HeadersEncoder$SensitivityDetector of io.netty.handler.codec.http2.Http2HeadersEncoder
public abstract Entry = java.util.Map$Entry of java.util.Map