class io.netty.example.objectecho.ObjectEchoServer$1 extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.example.objectecho.ObjectEchoServer$1
super_class: io.netty.channel.ChannelInitializer
{
private final io.netty.handler.ssl.SslContext val$sslCtx;
descriptor: Lio/netty/handler/ssl/SslContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.handler.ssl.SslContext);
descriptor: (Lio/netty/handler/ssl/SslContext;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield io.netty.example.objectecho.ObjectEchoServer$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/example/objectecho/ObjectEchoServer$1;
MethodParameters:
Name Flags
val$sslCtx final
public void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.socket.SocketChannel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 1: aload 0
getfield io.netty.example.objectecho.ObjectEchoServer$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
ifnull 3
2: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 0
getfield io.netty.example.objectecho.ObjectEchoServer$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 1
invokeinterface io.netty.channel.socket.SocketChannel.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/ssl/SslHandler;
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: StackMap locals: io.netty.channel.ChannelPipeline
StackMap stack:
aload 2
iconst_3
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
4: new io.netty.handler.codec.serialization.ObjectEncoder
dup
invokespecial io.netty.handler.codec.serialization.ObjectEncoder.<init>:()V
aastore
dup
iconst_1
5: new io.netty.handler.codec.serialization.ObjectDecoder
dup
aconst_null
invokestatic io.netty.handler.codec.serialization.ClassResolvers.cacheDisabled:(Ljava/lang/ClassLoader;)Lio/netty/handler/codec/serialization/ClassResolver;
invokespecial io.netty.handler.codec.serialization.ObjectDecoder.<init>:(Lio/netty/handler/codec/serialization/ClassResolver;)V
aastore
dup
iconst_2
6: new io.netty.example.objectecho.ObjectEchoServerHandler
dup
invokespecial io.netty.example.objectecho.ObjectEchoServerHandler.<init>:()V
aastore
7: invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/example/objectecho/ObjectEchoServer$1;
0 9 1 ch Lio/netty/channel/socket/SocketChannel;
1 9 2 p Lio/netty/channel/ChannelPipeline;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ch
public void initChannel(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.channel.socket.SocketChannel
invokevirtual io.netty.example.objectecho.ObjectEchoServer$1.initChannel:(Lio/netty/channel/socket/SocketChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/channel/ChannelInitializer<Lio/netty/channel/socket/SocketChannel;>;
SourceFile: "ObjectEchoServer.java"
EnclosingMethod: io.netty.example.objectecho.ObjectEchoServer.main:([Ljava/lang/String;)V
NestHost: io.netty.example.objectecho.ObjectEchoServer
InnerClasses:
io.netty.example.objectecho.ObjectEchoServer$1