public class io.netty.example.spdy.client.SpdyClientInitializer 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.client.SpdyClientInitializer
super_class: io.netty.channel.ChannelInitializer
{
private static final int MAX_SPDY_CONTENT_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1048576
private final io.netty.handler.ssl.SslContext sslCtx;
descriptor: Lio/netty/handler/ssl/SslContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.example.spdy.client.HttpResponseClientHandler httpResponseHandler;
descriptor: Lio/netty/example/spdy/client/HttpResponseClientHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.ssl.SslContext, io.netty.example.spdy.client.HttpResponseClientHandler);
descriptor: (Lio/netty/handler/ssl/SslContext;Lio/netty/example/spdy/client/HttpResponseClientHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
1: aload 0
aload 1
putfield io.netty.example.spdy.client.SpdyClientInitializer.sslCtx:Lio/netty/handler/ssl/SslContext;
2: aload 0
aload 2
putfield io.netty.example.spdy.client.SpdyClientInitializer.httpResponseHandler:Lio/netty/example/spdy/client/HttpResponseClientHandler;
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/client/SpdyClientInitializer;
0 4 1 sslCtx Lio/netty/handler/ssl/SslContext;
0 4 2 httpResponseHandler Lio/netty/example/spdy/client/HttpResponseClientHandler;
MethodParameters:
Name Flags
sslCtx
httpResponseHandler
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
ldc "ssl"
aload 0
getfield io.netty.example.spdy.client.SpdyClientInitializer.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;
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: aload 2
ldc "spdyFrameCodec"
new io.netty.handler.codec.spdy.SpdyFrameCodec
dup
getstatic io.netty.handler.codec.spdy.SpdyVersion.SPDY_3_1:Lio/netty/handler/codec/spdy/SpdyVersion;
invokespecial io.netty.handler.codec.spdy.SpdyFrameCodec.<init>:(Lio/netty/handler/codec/spdy/SpdyVersion;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: aload 2
ldc "spdyFrameLogger"
new io.netty.example.spdy.client.SpdyFrameLogger
dup
getstatic io.netty.util.internal.logging.InternalLogLevel.INFO:Lio/netty/util/internal/logging/InternalLogLevel;
invokespecial io.netty.example.spdy.client.SpdyFrameLogger.<init>:(Lio/netty/util/internal/logging/InternalLogLevel;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: aload 2
ldc "spdySessionHandler"
new io.netty.handler.codec.spdy.SpdySessionHandler
dup
getstatic io.netty.handler.codec.spdy.SpdyVersion.SPDY_3_1:Lio/netty/handler/codec/spdy/SpdyVersion;
iconst_0
invokespecial io.netty.handler.codec.spdy.SpdySessionHandler.<init>:(Lio/netty/handler/codec/spdy/SpdyVersion;Z)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
5: aload 2
ldc "spdyHttpEncoder"
new io.netty.handler.codec.spdy.SpdyHttpEncoder
dup
getstatic io.netty.handler.codec.spdy.SpdyVersion.SPDY_3_1:Lio/netty/handler/codec/spdy/SpdyVersion;
invokespecial io.netty.handler.codec.spdy.SpdyHttpEncoder.<init>:(Lio/netty/handler/codec/spdy/SpdyVersion;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
6: aload 2
ldc "spdyHttpDecoder"
new io.netty.handler.codec.spdy.SpdyHttpDecoder
dup
getstatic io.netty.handler.codec.spdy.SpdyVersion.SPDY_3_1:Lio/netty/handler/codec/spdy/SpdyVersion;
ldc 1048576
invokespecial io.netty.handler.codec.spdy.SpdyHttpDecoder.<init>:(Lio/netty/handler/codec/spdy/SpdyVersion;I)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
7: aload 2
ldc "spdyStreamIdHandler"
new io.netty.example.spdy.client.SpdyClientStreamIdHandler
dup
invokespecial io.netty.example.spdy.client.SpdyClientStreamIdHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
8: aload 2
ldc "httpHandler"
aload 0
getfield io.netty.example.spdy.client.SpdyClientInitializer.httpResponseHandler:Lio/netty/example/spdy/client/HttpResponseClientHandler;
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/example/spdy/client/SpdyClientInitializer;
0 10 1 ch Lio/netty/channel/socket/SocketChannel;
1 10 2 pipeline 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.client.SpdyClientInitializer.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: "SpdyClientInitializer.java"