public class io.netty.example.spdy.server.SpdyServerInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.example.spdy.server.SpdyServerInitializer
super_class: io.netty.channel.ChannelInitializer
{
private final io.netty.handler.ssl.SslContext sslCtx;
descriptor: Lio/netty/handler/ssl/SslContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.ssl.SslContext);
descriptor: (Lio/netty/handler/ssl/SslContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
1: aload 0
aload 1
putfield io.netty.example.spdy.server.SpdyServerInitializer.sslCtx:Lio/netty/handler/ssl/SslContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/example/spdy/server/SpdyServerInitializer;
0 3 1 sslCtx Lio/netty/handler/ssl/SslContext;
MethodParameters:
Name Flags
sslCtx
public void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 0
getfield io.netty.example.spdy.server.SpdyServerInitializer.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
2: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.netty.example.spdy.server.SpdyOrHttpHandler
dup
invokespecial io.netty.example.spdy.server.SpdyOrHttpHandler.<init>:()V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/example/spdy/server/SpdyServerInitializer;
0 4 1 ch Lio/netty/channel/socket/SocketChannel;
1 4 2 p Lio/netty/channel/ChannelPipeline;
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.spdy.server.SpdyServerInitializer.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: "SpdyServerInitializer.java"