public final class io.netty.handler.codec.http2.Http2CodecUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.Http2CodecUtil
super_class: java.lang.Object
{
public static final int CONNECTION_STREAM_ID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int HTTP_UPGRADE_STREAM_ID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final java.lang.CharSequence HTTP_UPGRADE_SETTINGS_HEADER;
descriptor: Ljava/lang/CharSequence;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.CharSequence HTTP_UPGRADE_PROTOCOL_NAME;
descriptor: Ljava/lang/CharSequence;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.CharSequence TLS_UPGRADE_PROTOCOL_NAME;
descriptor: Ljava/lang/CharSequence;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int PING_FRAME_PAYLOAD_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final short MAX_UNSIGNED_BYTE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 255
public static final int MAX_PADDING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 256
public static final long MAX_UNSIGNED_INT;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
public static final int FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int SETTING_ENTRY_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int PRIORITY_ENTRY_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int INT_FIELD_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final short MAX_WEIGHT;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 256
public static final short MIN_WEIGHT;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final io.netty.buffer.ByteBuf CONNECTION_PREFACE;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.buffer.ByteBuf EMPTY_PING;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MAX_PADDING_LENGTH_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DATA_FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final int HEADERS_FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int PRIORITY_FRAME_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 14
public static final int RST_STREAM_FRAME_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 13
public static final int PUSH_PROMISE_FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 14
public static final int GO_AWAY_FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 17
public static final int WINDOW_UPDATE_FRAME_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 13
public static final int CONTINUATION_FRAME_HEADER_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final char SETTINGS_HEADER_TABLE_SIZE;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final char SETTINGS_ENABLE_PUSH;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final char SETTINGS_MAX_CONCURRENT_STREAMS;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final char SETTINGS_INITIAL_WINDOW_SIZE;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final char SETTINGS_MAX_FRAME_SIZE;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final char SETTINGS_MAX_HEADER_LIST_SIZE;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int NUM_STANDARD_SETTINGS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final long MAX_HEADER_TABLE_SIZE;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
public static final long MAX_CONCURRENT_STREAMS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
public static final int MAX_INITIAL_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483647
public static final int MAX_FRAME_SIZE_LOWER_BOUND;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16384
public static final int MAX_FRAME_SIZE_UPPER_BOUND;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16777215
public static final long MAX_HEADER_LIST_SIZE;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
public static final long MIN_HEADER_TABLE_SIZE;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final long MIN_CONCURRENT_STREAMS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int MIN_INITIAL_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final long MIN_HEADER_LIST_SIZE;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int DEFAULT_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 65535
public static final short DEFAULT_PRIORITY_WEIGHT;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int DEFAULT_HEADER_TABLE_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
public static final long DEFAULT_HEADER_LIST_SIZE;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final int DEFAULT_MAX_FRAME_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16384
public static final int SMALLEST_MAX_CONCURRENT_STREAMS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 100
static final int DEFAULT_MAX_RESERVED_STREAMS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 100
static final int DEFAULT_MIN_ALLOCATION_CHUNK;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1024
static final int DEFAULT_INITIAL_HUFFMAN_DECODE_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final long DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT_MILLIS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc "HTTP2-Settings"
invokestatic io.netty.util.AsciiString.cached:(Ljava/lang/String;)Lio/netty/util/AsciiString;
putstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
1: ldc "h2c"
putstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME:Ljava/lang/CharSequence;
2: ldc "h2"
putstatic io.netty.handler.codec.http2.Http2CodecUtil.TLS_UPGRADE_PROTOCOL_NAME:Ljava/lang/CharSequence;
3: bipush 24
invokestatic io.netty.buffer.Unpooled.directBuffer:(I)Lio/netty/buffer/ByteBuf;
ldc "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
4: invokevirtual io.netty.buffer.ByteBuf.asReadOnly:()Lio/netty/buffer/ByteBuf;
5: putstatic io.netty.handler.codec.http2.Http2CodecUtil.CONNECTION_PREFACE:Lio/netty/buffer/ByteBuf;
6: bipush 8
invokestatic io.netty.buffer.Unpooled.directBuffer:(I)Lio/netty/buffer/ByteBuf;
bipush 8
invokevirtual io.netty.buffer.ByteBuf.writeZero:(I)Lio/netty/buffer/ByteBuf;
invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
7: invokevirtual io.netty.buffer.ByteBuf.asReadOnly:()Lio/netty/buffer/ByteBuf;
8: putstatic io.netty.handler.codec.http2.Http2CodecUtil.EMPTY_PING:Lio/netty/buffer/ByteBuf;
9: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
ldc 30
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putstatic io.netty.handler.codec.http2.Http2CodecUtil.DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT_MILLIS:J
return
LocalVariableTable:
Start End Slot Name Signature
public static long calculateMaxHeaderListSizeGoAway(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: lload 0
lload 0
iconst_2
lushr
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 maxHeaderListSize J
MethodParameters:
Name Flags
maxHeaderListSize
public static boolean isOutboundStream(boolean, int);
descriptor: (ZI)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iand
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 1
ifle 4
iload 0
iload 2
if_icmpne 4
iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 server Z
0 5 1 streamId I
3 5 2 even Z
MethodParameters:
Name Flags
server
streamId
public static boolean isStreamIdValid(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 streamId I
MethodParameters:
Name Flags
streamId
public static boolean isMaxFrameSizeValid(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
sipush 16384
if_icmplt 1
iload 0
ldc 16777215
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 maxFrameSize I
MethodParameters:
Name Flags
maxFrameSize
public static io.netty.buffer.ByteBuf connectionPrefaceBuf();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.codec.http2.Http2CodecUtil.CONNECTION_PREFACE:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retainedDuplicate:()Lio/netty/buffer/ByteBuf;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.buffer.ByteBuf emptyPingBuf();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.codec.http2.Http2CodecUtil.EMPTY_PING:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retainedDuplicate:()Lio/netty/buffer/ByteBuf;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.codec.http2.Http2Exception getEmbeddedHttp2Exception(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lio/netty/handler/codec/http2/Http2Exception;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
instanceof io.netty.handler.codec.http2.Http2Exception
ifeq 3
2: aload 0
checkcast io.netty.handler.codec.http2.Http2Exception
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 0
4: StackMap locals:
StackMap stack:
aload 0
ifnonnull 1
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public static io.netty.buffer.ByteBuf toByteBuf(io.netty.channel.ChannelHandlerContext, java.lang.Throwable);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)Lio/netty/buffer/ByteBuf;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnonnull 2
1: StackMap locals:
StackMap stack:
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokestatic io.netty.buffer.ByteBufUtil.writeUtf8:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/CharSequence;)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ctx Lio/netty/channel/ChannelHandlerContext;
0 3 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
ctx
cause
public static int readUnsignedInt(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.buffer.ByteBuf.readInt:()I
ldc 2147483647
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
buf
public static void writeFrameHeader(io.netty.buffer.ByteBuf, int, byte, io.netty.handler.codec.http2.Http2Flags, int);
descriptor: (Lio/netty/buffer/ByteBuf;IBLio/netty/handler/codec/http2/Http2Flags;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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
bipush 9
iload 1
iadd
invokevirtual io.netty.buffer.ByteBuf.ensureWritable:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 0
iload 1
iload 2
aload 3
iload 4
invokestatic io.netty.handler.codec.http2.Http2CodecUtil.writeFrameHeaderInternal:(Lio/netty/buffer/ByteBuf;IBLio/netty/handler/codec/http2/Http2Flags;I)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 out Lio/netty/buffer/ByteBuf;
0 3 1 payloadLength I
0 3 2 type B
0 3 3 flags Lio/netty/handler/codec/http2/Http2Flags;
0 3 4 streamId I
MethodParameters:
Name Flags
out
payloadLength
type
flags
streamId
public static int streamableBytes(io.netty.handler.codec.http2.StreamByteDistributor$StreamState);
descriptor: (Lio/netty/handler/codec/http2/StreamByteDistributor$StreamState;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_0
aload 0
invokeinterface io.netty.handler.codec.http2.StreamByteDistributor$StreamState.pendingBytes:()J
aload 0
invokeinterface io.netty.handler.codec.http2.StreamByteDistributor$StreamState.windowSize:()I
i2l
invokestatic java.lang.Math.min:(JJ)J
l2i
invokestatic java.lang.Math.max:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 state Lio/netty/handler/codec/http2/StreamByteDistributor$StreamState;
MethodParameters:
Name Flags
state
public static void headerListSizeExceeded(int, long, boolean);
descriptor: (IJZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 3 0: iload 0
getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
iload 3
ldc "Header size exceeded max allowed size (%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
2: invokestatic io.netty.handler.codec.http2.Http2Exception.headerListSizeError:(ILio/netty/handler/codec/http2/Http2Error;ZLjava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 streamId I
0 3 1 maxHeaderListSize J
0 3 3 onDecode Z
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
maxHeaderListSize
onDecode
public static void headerListSizeExceeded(long);
descriptor: (J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Header size exceeded max allowed size (%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
2: 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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 maxHeaderListSize J
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
maxHeaderListSize
static void writeFrameHeaderInternal(io.netty.buffer.ByteBuf, int, byte, io.netty.handler.codec.http2.Http2Flags, int);
descriptor: (Lio/netty/buffer/ByteBuf;IBLio/netty/handler/codec/http2/Http2Flags;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
invokevirtual io.netty.buffer.ByteBuf.writeMedium:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 0
iload 2
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
2: aload 0
aload 3
invokevirtual io.netty.handler.codec.http2.Http2Flags.value:()S
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
3: aload 0
iload 4
invokevirtual io.netty.buffer.ByteBuf.writeInt:(I)Lio/netty/buffer/ByteBuf;
pop
4: 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 out Lio/netty/buffer/ByteBuf;
0 5 1 payloadLength I
0 5 2 type B
0 5 3 flags Lio/netty/handler/codec/http2/Http2Flags;
0 5 4 streamId I
MethodParameters:
Name Flags
out
payloadLength
type
flags
streamId
public static void verifyPadding(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
sipush 256
if_icmple 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid padding '%d'. Padding must be between 0 and %d (inclusive)."
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
sipush 256
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 padding I
MethodParameters:
Name Flags
padding
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2CodecUtil;
}
SourceFile: "Http2CodecUtil.java"
NestMembers:
io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator
InnerClasses:
final SimpleChannelPromiseAggregator = io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator of io.netty.handler.codec.http2.Http2CodecUtil
public abstract StreamState = io.netty.handler.codec.http2.StreamByteDistributor$StreamState of io.netty.handler.codec.http2.StreamByteDistributor