public final class io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler extends io.netty.channel.ChannelHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler
super_class: io.netty.channel.ChannelHandlerAdapter
{
private static final io.netty.buffer.ByteBuf CONNECTION_PREFACE;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.netty.handler.codec.http.HttpServerCodec httpServerCodec;
descriptor: Lio/netty/handler/codec/http/HttpServerCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.HttpServerUpgradeHandler httpServerUpgradeHandler;
descriptor: Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.channel.ChannelHandler http2ServerHandler;
descriptor: Lio/netty/channel/ChannelHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.handler.codec.http2.Http2CodecUtil.connectionPrefaceBuf:()Lio/netty/buffer/ByteBuf;
invokestatic io.netty.buffer.Unpooled.unreleasableBuffer:(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
putstatic io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.CONNECTION_PREFACE:Lio/netty/buffer/ByteBuf;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.http.HttpServerCodec, io.netty.handler.codec.http.HttpServerUpgradeHandler, io.netty.channel.ChannelHandler);
descriptor: (Lio/netty/handler/codec/http/HttpServerCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler;Lio/netty/channel/ChannelHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.netty.channel.ChannelHandlerAdapter.<init>:()V
1: aload 0
aload 1
ldc "httpServerCodec"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpServerCodec
putfield io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.httpServerCodec:Lio/netty/handler/codec/http/HttpServerCodec;
2: aload 0
aload 2
ldc "httpServerUpgradeHandler"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpServerUpgradeHandler
putfield io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.httpServerUpgradeHandler:Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
3: aload 0
aload 3
ldc "http2ServerHandler"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.channel.ChannelHandler
putfield io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.http2ServerHandler:Lio/netty/channel/ChannelHandler;
4: return
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/CleartextHttp2ServerUpgradeHandler;
0 5 1 httpServerCodec Lio/netty/handler/codec/http/HttpServerCodec;
0 5 2 httpServerUpgradeHandler Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
0 5 3 http2ServerHandler Lio/netty/channel/ChannelHandler;
MethodParameters:
Name Flags
httpServerCodec
httpServerUpgradeHandler
http2ServerHandler
public void handlerAdded(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
aconst_null
new io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeHandler
dup
aload 0
invokespecial io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeHandler.<init>:(Lio/netty/handler/codec/http2/CleartextHttp2ServerUpgradeHandler;)V
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
2: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
aconst_null
aload 0
getfield io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.httpServerCodec:Lio/netty/handler/codec/http/HttpServerCodec;
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
3: aload 0
aconst_null
aload 0
getfield io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler.httpServerUpgradeHandler:Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
invokeinterface io.netty.channel.ChannelPipeline.replace:(Lio/netty/channel/ChannelHandler;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/CleartextHttp2ServerUpgradeHandler;
0 5 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
}
SourceFile: "CleartextHttp2ServerUpgradeHandler.java"
NestMembers:
io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeHandler io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeUpgradeEvent
InnerClasses:
private final PriorKnowledgeHandler = io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeHandler of io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler
public final PriorKnowledgeUpgradeEvent = io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler$PriorKnowledgeUpgradeEvent of io.netty.handler.codec.http2.CleartextHttp2ServerUpgradeHandler