public class io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder implements io.netty.handler.codec.http2.Http2HeadersDecoder, io.netty.handler.codec.http2.Http2HeadersDecoder$Configuration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder
super_class: java.lang.Object
{
private static final float HEADERS_COUNT_WEIGHT_NEW;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.2
private static final float HEADERS_COUNT_WEIGHT_HISTORICAL;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.8
private final io.netty.handler.codec.http2.HpackDecoder hpackDecoder;
descriptor: Lio/netty/handler/codec/http2/HpackDecoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean validateHeaders;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private float headerArraySizeAccumulator;
descriptor: F
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc 8192
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>:(ZJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 2 1 validateHeaders Z
MethodParameters:
Name Flags
validateHeaders
public void <init>(boolean, long);
descriptor: (ZJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
lload 2
bipush 32
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>:(ZJI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 2 1 validateHeaders Z
0 2 2 maxHeaderListSize J
MethodParameters:
Name Flags
validateHeaders
maxHeaderListSize
public void <init>(boolean, long, int);
descriptor: (ZJI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
iload 1
new io.netty.handler.codec.http2.HpackDecoder
dup
lload 2
iload 4
invokespecial io.netty.handler.codec.http2.HpackDecoder.<init>:(JI)V
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>:(ZLio/netty/handler/codec/http2/HpackDecoder;)V
1: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 2 1 validateHeaders Z
0 2 2 maxHeaderListSize J
0 2 4 initialHuffmanDecodeCapacity I
MethodParameters:
Name Flags
validateHeaders
maxHeaderListSize
initialHuffmanDecodeCapacity
void <init>(boolean, io.netty.handler.codec.http2.HpackDecoder);
descriptor: (ZLio/netty/handler/codec/http2/HpackDecoder;)V
flags: (0x0000)
Code:
stack=3, 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
ldc 8.0
putfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.headerArraySizeAccumulator:F
2: aload 0
aload 2
ldc "hpackDecoder"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.HpackDecoder
putfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
3: aload 0
iload 1
putfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.validateHeaders:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 5 1 validateHeaders Z
0 5 2 hpackDecoder Lio/netty/handler/codec/http2/HpackDecoder;
MethodParameters:
Name Flags
validateHeaders
hpackDecoder
public void maxHeaderTableSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
lload 1
invokevirtual io.netty.handler.codec.http2.HpackDecoder.setMaxHeaderTableSize:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 2 1 max J
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
max
public long maxHeaderTableSize();
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.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
invokevirtual io.netty.handler.codec.http2.HpackDecoder.getMaxHeaderTableSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
public void maxHeaderListSize(long, long);
descriptor: (JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
lload 1
lload 3
invokevirtual io.netty.handler.codec.http2.HpackDecoder.setMaxHeaderListSize:(JJ)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
0 2 1 max J
0 2 3 goAwayMax J
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
max
goAwayMax
public long maxHeaderListSize();
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.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
invokevirtual io.netty.handler.codec.http2.HpackDecoder.getMaxHeaderListSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
public long maxHeaderListSizeGoAway();
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.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
invokevirtual io.netty.handler.codec.http2.HpackDecoder.getMaxHeaderListSizeGoAway:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
public io.netty.handler.codec.http2.Http2HeadersDecoder$Configuration configuration();
descriptor: ()Lio/netty/handler/codec/http2/Http2HeadersDecoder$Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
public io.netty.handler.codec.http2.Http2Headers decodeHeaders(int, io.netty.buffer.ByteBuf);
descriptor: (ILio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http2/Http2Headers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.newHeaders:()Lio/netty/handler/codec/http2/Http2Headers;
astore 3
start local 3 1: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.hpackDecoder:Lio/netty/handler/codec/http2/HpackDecoder;
iload 1
aload 2
aload 3
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.validateHeaders:Z
invokevirtual io.netty.handler.codec.http2.HpackDecoder.decode:(ILio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2Headers;Z)V
2: aload 0
ldc 0.2
aload 3
invokeinterface io.netty.handler.codec.http2.Http2Headers.size:()I
i2f
fmul
3: ldc 0.8
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.headerArraySizeAccumulator:F
fmul
fadd
4: putfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.headerArraySizeAccumulator:F
5: aload 3
6: areturn
end local 3 7: StackMap locals:
StackMap stack: io.netty.handler.codec.http2.Http2Exception
astore 3
start local 3 8: aload 3
athrow
end local 3 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 10: getstatic io.netty.handler.codec.http2.Http2Error.COMPRESSION_ERROR:Lio/netty/handler/codec/http2/Http2Error;
aload 3
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
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/DefaultHttp2HeadersDecoder;
0 11 1 streamId I
0 11 2 headerBlock Lio/netty/buffer/ByteBuf;
1 7 3 headers Lio/netty/handler/codec/http2/Http2Headers;
8 9 3 e Lio/netty/handler/codec/http2/Http2Exception;
10 11 3 e Ljava/lang/Throwable;
Exception table:
from to target type
0 6 7 Class io.netty.handler.codec.http2.Http2Exception
0 6 9 Class java.lang.Throwable
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
headerBlock
protected final int numberOfHeadersGuess();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.headerArraySizeAccumulator:F
f2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
protected final boolean validateHeaders();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.validateHeaders:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
protected io.netty.handler.codec.http2.Http2Headers newHeaders();
descriptor: ()Lio/netty/handler/codec/http2/Http2Headers;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.netty.handler.codec.http2.DefaultHttp2Headers
dup
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.validateHeaders:Z
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.headerArraySizeAccumulator:F
f2i
invokespecial io.netty.handler.codec.http2.DefaultHttp2Headers.<init>:(ZI)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2HeadersDecoder;
}
SourceFile: "DefaultHttp2HeadersDecoder.java"
InnerClasses:
public abstract Configuration = io.netty.handler.codec.http2.Http2HeadersDecoder$Configuration of io.netty.handler.codec.http2.Http2HeadersDecoder