public class io.undertow.protocols.http2.HpackDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.protocols.http2.HpackDecoder
super_class: java.lang.Object
{
private static final int DEFAULT_RING_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private io.undertow.protocols.http2.HpackDecoder$HeaderEmitter ;
descriptor: Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
flags: (0x0002) ACC_PRIVATE
private io.undertow.protocols.http2.Hpack$HeaderField[] ;
descriptor: [Lio/undertow/protocols/http2/Hpack$HeaderField;
flags: (0x0002) ACC_PRIVATE
private int firstSlotPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int filledTableSlots;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currentMemorySize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int specifiedMemorySize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int maxAllowedMemorySize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean first;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.lang.StringBuilder stringBuilder;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
2: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
3: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
4: aload 0
iconst_1
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
5: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
6: aload 0
sipush 4096
iload 1
invokestatic java.lang.Math.min:(II)I
putfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
7: aload 0
iload 1
putfield io.undertow.protocols.http2.HpackDecoder.maxAllowedMemorySize:I
8: aload 0
bipush 10
anewarray io.undertow.protocols.http2.Hpack$HeaderField
putfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 10 1 maxAllowedMemorySize I
MethodParameters:
Name Flags
maxAllowedMemorySize
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 4096
invokespecial io.undertow.protocols.http2.HpackDecoder.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/protocols/http2/HpackDecoder;
public void decode(java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: goto 69
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 2: aload 1
invokevirtual java.nio.ByteBuffer.get:()B
istore 4
start local 4 3: iload 4
sipush 128
iand
ifeq 16
4: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
5: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: aload 1
bipush 7
invokestatic io.undertow.protocols.http2.Hpack.decodeInteger:(Ljava/nio/ByteBuffer;I)I
istore 5
start local 5 7: iload 5
iconst_m1
if_icmpne 12
8: iload 2
ifne 10
9: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
10: StackMap locals: int int int
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
11: return
12: StackMap locals:
StackMap stack:
iload 5
ifne 14
13: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.zeroNotValidHeaderTableIndex:()Lio/undertow/protocols/http2/HpackException;
athrow
14: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual io.undertow.protocols.http2.HpackDecoder.handleIndex:(I)V
end local 5 15: goto 69
StackMap locals:
StackMap stack:
16: iload 4
bipush 64
iand
ifeq 33
17: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
18: aload 0
aload 1
bipush 6
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHeaderName:(Ljava/nio/ByteBuffer;I)Lio/undertow/util/HttpString;
astore 5
start local 5 19: aload 5
ifnonnull 24
20: iload 2
ifne 22
21: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
22: StackMap locals: io.undertow.util.HttpString
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
23: return
24: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHpackString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
astore 6
start local 6 25: aload 6
ifnonnull 30
26: iload 2
ifne 28
27: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
28: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
29: return
30: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
aload 5
aload 6
iconst_0
invokeinterface io.undertow.protocols.http2.HpackDecoder$HeaderEmitter.emitHeader:(Lio/undertow/util/HttpString;Ljava/lang/String;Z)V
31: aload 0
new io.undertow.protocols.http2.Hpack$HeaderField
dup
aload 5
aload 6
invokespecial io.undertow.protocols.http2.Hpack$HeaderField.<init>:(Lio/undertow/util/HttpString;Ljava/lang/String;)V
invokevirtual io.undertow.protocols.http2.HpackDecoder.addEntryToHeaderTable:(Lio/undertow/protocols/http2/Hpack$HeaderField;)V
end local 6 end local 5 32: goto 69
StackMap locals:
StackMap stack:
33: iload 4
sipush 240
iand
ifne 49
34: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
35: aload 0
aload 1
iconst_4
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHeaderName:(Ljava/nio/ByteBuffer;I)Lio/undertow/util/HttpString;
astore 5
start local 5 36: aload 5
ifnonnull 41
37: iload 2
ifne 39
38: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
39: StackMap locals: io.undertow.util.HttpString
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
40: return
41: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHpackString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
astore 6
start local 6 42: aload 6
ifnonnull 47
43: iload 2
ifne 45
44: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
45: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
46: return
47: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
aload 5
aload 6
iconst_0
invokeinterface io.undertow.protocols.http2.HpackDecoder$HeaderEmitter.emitHeader:(Lio/undertow/util/HttpString;Ljava/lang/String;Z)V
end local 6 end local 5 48: goto 69
StackMap locals:
StackMap stack:
49: iload 4
sipush 240
iand
bipush 16
if_icmpne 63
50: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
51: aload 0
aload 1
iconst_4
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHeaderName:(Ljava/nio/ByteBuffer;I)Lio/undertow/util/HttpString;
astore 5
start local 5 52: aload 5
ifnonnull 55
53: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
54: return
55: StackMap locals: io.undertow.util.HttpString
StackMap stack:
aload 0
aload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHpackString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
astore 6
start local 6 56: aload 6
ifnonnull 61
57: iload 2
ifne 59
58: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.hpackFailed:()Lio/undertow/protocols/http2/HpackException;
athrow
59: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
60: return
61: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
aload 5
aload 6
iconst_1
invokeinterface io.undertow.protocols.http2.HpackDecoder$HeaderEmitter.emitHeader:(Lio/undertow/util/HttpString;Ljava/lang/String;Z)V
end local 6 end local 5 62: goto 69
StackMap locals:
StackMap stack:
63: iload 4
sipush 224
iand
bipush 32
if_icmpne 68
64: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.first:Z
ifne 66
65: new io.undertow.protocols.http2.HpackException
dup
invokespecial io.undertow.protocols.http2.HpackException.<init>:()V
athrow
66: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual io.undertow.protocols.http2.HpackDecoder.handleMaxMemorySizeChange:(Ljava/nio/ByteBuffer;I)Z
ifne 69
67: return
68: StackMap locals:
StackMap stack:
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 4
invokeinterface io.undertow.UndertowMessages.invalidHpackEncoding:(B)Lio/undertow/protocols/http2/HpackException;
athrow
end local 4 end local 3 69: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
70: iload 2
ifne 72
71: aload 0
iconst_1
putfield io.undertow.protocols.http2.HpackDecoder.first:Z
72: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 73 1 buffer Ljava/nio/ByteBuffer;
0 73 2 moreData Z
2 69 3 originalPos I
3 69 4 b B
7 15 5 index I
19 32 5 headerName Lio/undertow/util/HttpString;
25 32 6 headerValue Ljava/lang/String;
36 48 5 headerName Lio/undertow/util/HttpString;
42 48 6 headerValue Ljava/lang/String;
52 62 5 headerName Lio/undertow/util/HttpString;
56 62 6 headerValue Ljava/lang/String;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
buffer
moreData
private boolean handleMaxMemorySizeChange(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
1: aload 1
iconst_5
invokestatic io.undertow.protocols.http2.Hpack.decodeInteger:(Ljava/nio/ByteBuffer;I)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpne 5
3: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iload 3
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.maxAllowedMemorySize:I
if_icmple 7
6: new io.undertow.protocols.http2.HpackException
dup
iconst_1
invokespecial io.undertow.protocols.http2.HpackException.<init>:(I)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
8: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
if_icmple 24
9: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
istore 4
start local 4 10: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
istore 5
start local 5 11: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
istore 6
start local 6 12: goto 21
13: StackMap locals: int int int
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
istore 7
start local 7 14: aload 0
dup
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iconst_1
iadd
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
15: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iload 5
if_icmpne 17
16: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
17: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 7
aaload
astore 8
start local 8 18: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 7
aconst_null
aastore
19: iload 6
aload 8
getfield io.undertow.protocols.http2.Hpack$HeaderField.size:I
isub
istore 6
20: iinc 4 -1
end local 8 end local 7 21: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
if_icmpgt 13
22: aload 0
iload 4
putfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
23: aload 0
iload 6
putfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
end local 6 end local 5 end local 4 24: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 25 1 buffer Ljava/nio/ByteBuffer;
0 25 2 originalPos I
2 25 3 size I
10 24 4 newTableSlots I
11 24 5 tableLength I
12 24 6 newSize I
14 21 7 clearIndex I
18 21 8 oldData Lio/undertow/protocols/http2/Hpack$HeaderField;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
buffer
originalPos
private io.undertow.util.HttpString (java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Lio/undertow/util/HttpString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
1: aload 1
iload 2
invokestatic io.undertow.protocols.http2.Hpack.decodeInteger:(Ljava/nio/ByteBuffer;I)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpne 4
3: aconst_null
areturn
4: StackMap locals: int
StackMap stack:
iload 3
ifeq 6
5: aload 0
iload 3
invokevirtual io.undertow.protocols.http2.HpackDecoder.handleIndexedHeaderName:(I)Lio/undertow/util/HttpString;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHpackString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
astore 4
start local 4 7: aload 4
ifnonnull 9
8: aconst_null
areturn
9: StackMap locals: java.lang.String
StackMap stack:
new io.undertow.util.HttpString
dup
aload 4
invokespecial io.undertow.util.HttpString.<init>:(Ljava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 10 1 buffer Ljava/nio/ByteBuffer;
0 10 2 prefixLength I
2 10 3 index I
7 10 4 string Ljava/lang/String;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
buffer
prefixLength
private java.lang.String readHpackString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 2
start local 2 3: aload 1
bipush 7
invokestatic io.undertow.protocols.http2.Hpack.decodeInteger:(Ljava/nio/ByteBuffer;I)I
istore 3
start local 3 4: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
if_icmplt 5
iload 3
iconst_m1
if_icmpne 6
5: StackMap locals: int int
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
iload 2
sipush 128
iand
ifeq 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: iload 4
ifeq 11
10: aload 0
iload 3
aload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.readHuffmanString:(ILjava/nio/ByteBuffer;)Ljava/lang/String;
areturn
11: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 3
if_icmplt 13
end local 5 16: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 17: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
18: aload 5
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 19 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 19 1 buffer Ljava/nio/ByteBuffer;
3 19 2 data B
4 19 3 length I
9 19 4 huffman Z
12 16 5 i I
17 19 5 ret Ljava/lang/String;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
buffer
private java.lang.String readHuffmanString(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
invokestatic io.undertow.protocols.http2.HPackHuffman.decode:(Ljava/nio/ByteBuffer;ILjava/lang/StringBuilder;)V
1: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.stringBuilder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 4 1 length I
0 4 2 buffer Ljava/nio/ByteBuffer;
2 4 3 ret Ljava/lang/String;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
length
buffer
private io.undertow.util.HttpString handleIndexedHeaderName(int);
descriptor: (I)Lio/undertow/util/HttpString;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE_LENGTH:I
if_icmpgt 2
1: getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 1
aaload
getfield io.undertow.protocols.http2.Hpack$HeaderField.name:Lio/undertow/util/HttpString;
areturn
2: StackMap locals:
StackMap stack:
iload 1
getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE_LENGTH:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
iadd
if_icmplt 4
3: new io.undertow.protocols.http2.HpackException
dup
invokespecial io.undertow.protocols.http2.HpackException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE_LENGTH:I
isub
invokevirtual io.undertow.protocols.http2.HpackDecoder.getRealIndex:(I)I
istore 2
start local 2 5: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 2
aaload
astore 3
start local 3 6: aload 3
ifnonnull 8
7: new io.undertow.protocols.http2.HpackException
dup
invokespecial io.undertow.protocols.http2.HpackException.<init>:()V
athrow
8: StackMap locals: int io.undertow.protocols.http2.Hpack$HeaderField
StackMap stack:
aload 3
getfield io.undertow.protocols.http2.Hpack$HeaderField.name:Lio/undertow/util/HttpString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 9 1 index I
5 9 2 adjustedIndex I
6 9 3 res Lio/undertow/protocols/http2/Hpack$HeaderField;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
index
private void handleIndex(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE_LENGTH:I
if_icmpgt 3
1: aload 0
iload 1
invokevirtual io.undertow.protocols.http2.HpackDecoder.addStaticTableEntry:(I)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
iload 1
getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE_LENGTH:I
isub
invokevirtual io.undertow.protocols.http2.HpackDecoder.getRealIndex:(I)I
istore 2
start local 2 4: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 2
aaload
astore 3
start local 3 5: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
aload 3
getfield io.undertow.protocols.http2.Hpack$HeaderField.name:Lio/undertow/util/HttpString;
aload 3
getfield io.undertow.protocols.http2.Hpack$HeaderField.value:Ljava/lang/String;
iconst_0
invokeinterface io.undertow.protocols.http2.HpackDecoder$HeaderEmitter.emitHeader:(Lio/undertow/util/HttpString;Ljava/lang/String;Z)V
end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 7 1 index I
4 6 2 adjustedIndex I
5 6 3 headerField Lio/undertow/protocols/http2/Hpack$HeaderField;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
index
int getRealIndex(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
iload 1
isub
iadd
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
irem
istore 2
start local 2 1: iload 2
ifge 3
2: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 1
invokeinterface io.undertow.UndertowMessages.invalidHpackIndex:(I)Lio/undertow/protocols/http2/HpackException;
athrow
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 4 1 index I
1 4 2 newIndex I
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
index
private void addStaticTableEntry(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.undertow.protocols.http2.Hpack.STATIC_TABLE:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 1
aaload
astore 2
start local 2 1: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
aload 2
getfield io.undertow.protocols.http2.Hpack$HeaderField.name:Lio/undertow/util/HttpString;
aload 2
getfield io.undertow.protocols.http2.Hpack$HeaderField.value:Ljava/lang/String;
ifnonnull 2
ldc ""
goto 3
StackMap locals: io.undertow.protocols.http2.HpackDecoder int io.undertow.protocols.http2.Hpack$HeaderField
StackMap stack: io.undertow.protocols.http2.HpackDecoder$HeaderEmitter io.undertow.util.HttpString
2: aload 2
getfield io.undertow.protocols.http2.Hpack$HeaderField.value:Ljava/lang/String;
StackMap locals: io.undertow.protocols.http2.HpackDecoder int io.undertow.protocols.http2.Hpack$HeaderField
StackMap stack: io.undertow.protocols.http2.HpackDecoder$HeaderEmitter io.undertow.util.HttpString java.lang.String
3: iconst_0
invokeinterface io.undertow.protocols.http2.HpackDecoder$HeaderEmitter.emitHeader:(Lio/undertow/util/HttpString;Ljava/lang/String;Z)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 5 1 index I
1 5 2 entry Lio/undertow/protocols/http2/Hpack$HeaderField;
Exceptions:
throws io.undertow.protocols.http2.HpackException
MethodParameters:
Name Flags
index
private void (io.undertow.protocols.http2.Hpack$HeaderField);
descriptor: (Lio/undertow/protocols/http2/Hpack$HeaderField;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
getfield io.undertow.protocols.http2.Hpack$HeaderField.size:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
if_icmple 10
1: goto 7
2: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
aconst_null
aastore
3: aload 0
dup
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iconst_1
iadd
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
4: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
if_icmpne 6
5: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
6: StackMap locals:
StackMap stack:
aload 0
dup
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
iconst_1
isub
putfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
7: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
ifgt 2
8: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
9: return
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.undertow.protocols.http2.HpackDecoder.resizeIfRequired:()V
11: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
iconst_1
iadd
istore 2
start local 2 12: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
istore 3
start local 3 13: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
iadd
iload 3
irem
istore 4
start local 4 14: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 4
aload 1
aastore
15: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
aload 1
getfield io.undertow.protocols.http2.Hpack$HeaderField.size:I
iadd
istore 5
start local 5 16: goto 25
17: StackMap locals: io.undertow.protocols.http2.HpackDecoder io.undertow.protocols.http2.Hpack$HeaderField int int int int
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
istore 6
start local 6 18: aload 0
dup
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iconst_1
iadd
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
19: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iload 3
if_icmpne 21
20: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
21: StackMap locals: int
StackMap stack:
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 6
aaload
astore 7
start local 7 22: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
iload 6
aconst_null
aastore
23: iload 5
aload 7
getfield io.undertow.protocols.http2.Hpack$HeaderField.size:I
isub
istore 5
24: iinc 2 -1
end local 7 end local 6 25: StackMap locals:
StackMap stack:
iload 5
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
if_icmpgt 17
26: aload 0
iload 2
putfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
27: aload 0
iload 5
putfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
28: 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 29 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 29 1 entry Lio/undertow/protocols/http2/Hpack$HeaderField;
12 29 2 newTableSlots I
13 29 3 tableLength I
14 29 4 index I
16 29 5 newSize I
18 25 6 clearIndex I
22 25 7 oldData Lio/undertow/protocols/http2/Hpack$HeaderField;
MethodParameters:
Name Flags
entry
private void resizeIfRequired();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
if_icmpne 9
1: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
bipush 10
iadd
anewarray io.undertow.protocols.http2.Hpack$HeaderField
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: io.undertow.protocols.http2.Hpack$HeaderField[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
iload 2
iadd
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
irem
aaload
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
arraylength
if_icmplt 4
end local 2 7: aload 0
iconst_0
putfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
8: aload 0
aload 1
putfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/undertow/protocols/http2/HpackDecoder;
2 9 1 newArray [Lio/undertow/protocols/http2/Hpack$HeaderField;
3 7 2 i I
public io.undertow.protocols.http2.HpackDecoder$HeaderEmitter ();
descriptor: ()Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
public void (io.undertow.protocols.http2.HpackDecoder$HeaderEmitter);
descriptor: (Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.undertow.protocols.http2.HpackDecoder.headerEmitter:Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/protocols/http2/HpackDecoder;
0 2 1 headerEmitter Lio/undertow/protocols/http2/HpackDecoder$HeaderEmitter;
MethodParameters:
Name Flags
headerEmitter
int getFirstSlotPosition();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.firstSlotPosition:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
io.undertow.protocols.http2.Hpack$HeaderField[] ();
descriptor: ()[Lio/undertow/protocols/http2/Hpack$HeaderField;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.headerTable:[Lio/undertow/protocols/http2/Hpack$HeaderField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
int getFilledTableSlots();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.filledTableSlots:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
int getCurrentMemorySize();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.currentMemorySize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
int getSpecifiedMemorySize();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.protocols.http2.HpackDecoder.specifiedMemorySize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/protocols/http2/HpackDecoder;
}
SourceFile: "HpackDecoder.java"
NestMembers:
io.undertow.protocols.http2.HpackDecoder$HeaderEmitter
InnerClasses:
HeaderField = io.undertow.protocols.http2.Hpack$HeaderField of io.undertow.protocols.http2.Hpack
public abstract HeaderEmitter = io.undertow.protocols.http2.HpackDecoder$HeaderEmitter of io.undertow.protocols.http2.HpackDecoder