public class io.netty.handler.codec.http2.Http2ServerUpgradeCodec implements io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http2.Http2ServerUpgradeCodec
super_class: java.lang.Object
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.List<java.lang.CharSequence> REQUIRED_UPGRADE_HEADERS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/CharSequence;>;
private static final io.netty.channel.ChannelHandler[] EMPTY_HANDLERS;
descriptor: [Lio/netty/channel/ChannelHandler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String handlerName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.Http2ConnectionHandler connectionHandler;
descriptor: Lio/netty/handler/codec/http2/Http2ConnectionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.channel.ChannelHandler[] handlers;
descriptor: [Lio/netty/channel/ChannelHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.Http2FrameReader frameReader;
descriptor: Lio/netty/handler/codec/http2/Http2FrameReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.handler.codec.http2.Http2Settings settings;
descriptor: Lio/netty/handler/codec/http2/Http2Settings;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.logger:Lio/netty/util/internal/logging/InternalLogger;
1: getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
2: putstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.REQUIRED_UPGRADE_HEADERS:Ljava/util/List;
3: iconst_0
anewarray io.netty.channel.ChannelHandler
putstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.EMPTY_HANDLERS:[Lio/netty/channel/ChannelHandler;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.http2.Http2ConnectionHandler);
descriptor: (Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.EMPTY_HANDLERS:[Lio/netty/channel/ChannelHandler;
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 2 1 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
MethodParameters:
Name Flags
connectionHandler
public void <init>(io.netty.handler.codec.http2.Http2MultiplexCodec);
descriptor: (Lio/netty/handler/codec/http2/Http2MultiplexCodec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.EMPTY_HANDLERS:[Lio/netty/channel/ChannelHandler;
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 2 1 http2Codec Lio/netty/handler/codec/http2/Http2MultiplexCodec;
MethodParameters:
Name Flags
http2Codec
public void <init>(java.lang.String, io.netty.handler.codec.http2.Http2ConnectionHandler);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.EMPTY_HANDLERS:[Lio/netty/channel/ChannelHandler;
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)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/Http2ServerUpgradeCodec;
0 2 1 handlerName Ljava/lang/String;
0 2 2 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
MethodParameters:
Name Flags
handlerName
connectionHandler
public void <init>(java.lang.String, io.netty.handler.codec.http2.Http2MultiplexCodec);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2MultiplexCodec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.EMPTY_HANDLERS:[Lio/netty/channel/ChannelHandler;
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)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/Http2ServerUpgradeCodec;
0 2 1 handlerName Ljava/lang/String;
0 2 2 http2Codec Lio/netty/handler/codec/http2/Http2MultiplexCodec;
MethodParameters:
Name Flags
handlerName
http2Codec
public void <init>(io.netty.handler.codec.http2.Http2FrameCodec, io.netty.channel.ChannelHandler[]);
descriptor: (Lio/netty/handler/codec/http2/Http2FrameCodec;[Lio/netty/channel/ChannelHandler;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec.<init>:(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)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/Http2ServerUpgradeCodec;
0 2 1 http2Codec Lio/netty/handler/codec/http2/Http2FrameCodec;
0 2 2 handlers [Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
http2Codec
handlers
private void <init>(java.lang.String, io.netty.handler.codec.http2.Http2ConnectionHandler, io.netty.channel.ChannelHandler[]);
descriptor: (Ljava/lang/String;Lio/netty/handler/codec/http2/Http2ConnectionHandler;[Lio/netty/channel/ChannelHandler;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlerName:Ljava/lang/String;
2: aload 0
aload 2
putfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
3: aload 0
aload 3
putfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlers:[Lio/netty/channel/ChannelHandler;
4: aload 0
new io.netty.handler.codec.http2.DefaultHttp2FrameReader
dup
invokespecial io.netty.handler.codec.http2.DefaultHttp2FrameReader.<init>:()V
putfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.frameReader:Lio/netty/handler/codec/http2/Http2FrameReader;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 6 1 handlerName Ljava/lang/String;
0 6 2 connectionHandler Lio/netty/handler/codec/http2/Http2ConnectionHandler;
0 6 3 handlers [Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
handlerName
connectionHandler
handlers
public java.util.Collection<java.lang.CharSequence> requiredUpgradeHeaders();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.REQUIRED_UPGRADE_HEADERS:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
Signature: ()Ljava/util/Collection<Ljava/lang/CharSequence;>;
public boolean prepareUpgradeResponse(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.FullHttpRequest, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;Lio/netty/handler/codec/http/HttpHeaders;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.getAll:(Ljava/lang/CharSequence;)Ljava/util/List;
astore 4
start local 4 1: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 2
aload 4
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 5
2: StackMap locals: java.util.List
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "There must be 1 and only 1 "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: getstatic io.netty.handler.codec.http2.Http2CodecUtil.HTTP_UPGRADE_SETTINGS_HEADER:Ljava/lang/CharSequence;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " header."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual io.netty.handler.codec.http2.Http2ServerUpgradeCodec.decodeSettingsHeader:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Settings;
putfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.settings:Lio/netty/handler/codec/http2/Http2Settings;
6: iconst_1
ireturn
end local 4 7: StackMap locals: io.netty.handler.codec.http2.Http2ServerUpgradeCodec io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.FullHttpRequest io.netty.handler.codec.http.HttpHeaders
StackMap stack: java.lang.Throwable
astore 4
start local 4 8: getstatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Error during upgrade to HTTP/2"
aload 4
invokeinterface io.netty.util.internal.logging.InternalLogger.info:(Ljava/lang/String;Ljava/lang/Throwable;)V
9: iconst_0
ireturn
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/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 10 2 upgradeRequest Lio/netty/handler/codec/http/FullHttpRequest;
0 10 3 headers Lio/netty/handler/codec/http/HttpHeaders;
1 7 4 upgradeHeaders Ljava/util/List<Ljava/lang/String;>;
8 10 4 cause Ljava/lang/Throwable;
Exception table:
from to target type
0 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
ctx
upgradeRequest
headers
public void upgradeTo(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.FullHttpRequest);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlerName:Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
invokeinterface io.netty.channel.ChannelPipeline.addAfter:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
1: aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.settings:Lio/netty/handler/codec/http2/Http2Settings;
invokevirtual io.netty.handler.codec.http2.Http2ConnectionHandler.onHttpServerUpgrade:(Lio/netty/handler/codec/http2/Http2Settings;)V
2: goto 7
StackMap locals:
StackMap stack: io.netty.handler.codec.http2.Http2Exception
3: astore 3
start local 3 4: aload 1
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.fireExceptionCaught:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext;
pop
5: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.close:()Lio/netty/channel/ChannelFuture;
pop
6: return
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlers:[Lio/netty/channel/ChannelHandler;
ifnull 14
8: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.connectionHandler:Lio/netty/handler/codec/http2/Http2ConnectionHandler;
invokeinterface io.netty.channel.ChannelPipeline.context:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
astore 3
start local 3 9: aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlers:[Lio/netty/channel/ChannelHandler;
arraylength
iconst_1
isub
istore 4
start local 4 10: goto 13
11: StackMap locals: java.lang.String int
StackMap stack:
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 3
aconst_null
aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.handlers:[Lio/netty/channel/ChannelHandler;
iload 4
aaload
invokeinterface io.netty.channel.ChannelPipeline.addAfter:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
12: iinc 4 -1
StackMap locals:
StackMap stack:
13: iload 4
ifge 11
end local 4 end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 15 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 15 2 upgradeRequest Lio/netty/handler/codec/http/FullHttpRequest;
4 7 3 e Lio/netty/handler/codec/http2/Http2Exception;
9 14 3 name Ljava/lang/String;
10 14 4 i I
Exception table:
from to target type
0 2 3 Class io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
ctx final
upgradeRequest
private io.netty.handler.codec.http2.Http2Settings decodeSettingsHeader(io.netty.channel.ChannelHandlerContext, java.lang.CharSequence);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Settings;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
aload 2
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;)Ljava/nio/CharBuffer;
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.ByteBufUtil.encodeString:(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
astore 3
start local 3 1: aload 3
getstatic io.netty.handler.codec.base64.Base64Dialect.URL_SAFE:Lio/netty/handler/codec/base64/Base64Dialect;
invokestatic io.netty.handler.codec.base64.Base64.decode:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/base64/Base64Dialect;)Lio/netty/buffer/ByteBuf;
astore 4
start local 4 2: aload 1
aload 4
invokestatic io.netty.handler.codec.http2.Http2ServerUpgradeCodec.createSettingsFrame:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
astore 5
start local 5 3: aload 0
aload 1
aload 5
invokevirtual io.netty.handler.codec.http2.Http2ServerUpgradeCodec.decodeSettings:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http2/Http2Settings;
astore 7
4: aload 3
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
5: aload 7
areturn
end local 5 end local 4 6: StackMap locals: io.netty.handler.codec.http2.Http2ServerUpgradeCodec io.netty.channel.ChannelHandlerContext java.lang.CharSequence io.netty.buffer.ByteBuf
StackMap stack: java.lang.Throwable
astore 6
7: aload 3
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
8: aload 6
athrow
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/Http2ServerUpgradeCodec;
0 9 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 9 2 settingsHeader Ljava/lang/CharSequence;
1 9 3 header Lio/netty/buffer/ByteBuf;
2 6 4 payload Lio/netty/buffer/ByteBuf;
3 6 5 frame Lio/netty/buffer/ByteBuf;
Exception table:
from to target type
1 4 6 any
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
ctx
settingsHeader
private io.netty.handler.codec.http2.Http2Settings decodeSettings(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http2/Http2Settings;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.codec.http2.Http2Settings
dup
invokespecial io.netty.handler.codec.http2.Http2Settings.<init>:()V
astore 3
start local 3 1: aload 0
getfield io.netty.handler.codec.http2.Http2ServerUpgradeCodec.frameReader:Lio/netty/handler/codec/http2/Http2FrameReader;
aload 1
aload 2
new io.netty.handler.codec.http2.Http2ServerUpgradeCodec$1
dup
aload 0
aload 3
invokespecial io.netty.handler.codec.http2.Http2ServerUpgradeCodec$1.<init>:(Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;Lio/netty/handler/codec/http2/Http2Settings;)V
invokeinterface io.netty.handler.codec.http2.Http2FrameReader.readFrame:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http2/Http2FrameListener;)V
2: aload 3
astore 5
3: aload 2
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
4: aload 5
areturn
end local 3 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
6: aload 2
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
7: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http2/Http2ServerUpgradeCodec;
0 8 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 8 2 frame Lio/netty/buffer/ByteBuf;
1 5 3 decodedSettings Lio/netty/handler/codec/http2/Http2Settings;
Exception table:
from to target type
0 3 5 any
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
ctx
frame
private static io.netty.buffer.ByteBuf createSettingsFrame(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
bipush 9
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
iadd
invokeinterface io.netty.buffer.ByteBufAllocator.buffer:(I)Lio/netty/buffer/ByteBuf;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
iconst_4
new io.netty.handler.codec.http2.Http2Flags
dup
invokespecial io.netty.handler.codec.http2.Http2Flags.<init>:()V
iconst_0
invokestatic io.netty.handler.codec.http2.Http2CodecUtil.writeFrameHeader:(Lio/netty/buffer/ByteBuf;IBLio/netty/handler/codec/http2/Http2Flags;I)V
2: aload 2
aload 1
invokevirtual io.netty.buffer.ByteBuf.writeBytes:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
pop
3: aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ctx Lio/netty/channel/ChannelHandlerContext;
0 5 1 payload Lio/netty/buffer/ByteBuf;
1 5 2 frame Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
ctx
payload
}
SourceFile: "Http2ServerUpgradeCodec.java"
NestMembers:
io.netty.handler.codec.http2.Http2ServerUpgradeCodec$1
InnerClasses:
public abstract UpgradeCodec = io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec of io.netty.handler.codec.http.HttpServerUpgradeHandler
io.netty.handler.codec.http2.Http2ServerUpgradeCodec$1