class io.netty.example.http.websocketx.client.WebSocketClient$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.http.websocketx.client.WebSocketClient$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
private final java.lang.String val$host;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$port;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final io.netty.example.http.websocketx.client.WebSocketClientHandler val$handler;
descriptor: Lio/netty/example/http/websocketx/client/WebSocketClientHandler;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.handler.ssl.SslContext, java.lang.String, int, io.netty.example.http.websocketx.client.WebSocketClientHandler);
descriptor: (Lio/netty/handler/ssl/SslContext;Ljava/lang/String;ILio/netty/example/http/websocketx/client/WebSocketClientHandler;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 0
aload 2
putfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$host:Ljava/lang/String;
aload 0
iload 3
putfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$port:I
aload 0
aload 4
putfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$handler:Lio/netty/example/http/websocketx/client/WebSocketClientHandler;
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/http/websocketx/client/WebSocketClient$1;
MethodParameters:
Name Flags
val$sslCtx final
val$host final
val$port final
val$handler final
protected void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, 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.http.websocketx.client.WebSocketClient$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.http.websocketx.client.WebSocketClient$1.val$sslCtx:Lio/netty/handler/ssl/SslContext;
aload 1
invokeinterface io.netty.channel.socket.SocketChannel.alloc:()Lio/netty/buffer/ByteBufAllocator;
aload 0
getfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$host:Ljava/lang/String;
aload 0
getfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$port:I
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)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_4
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
4: new io.netty.handler.codec.http.HttpClientCodec
dup
invokespecial io.netty.handler.codec.http.HttpClientCodec.<init>:()V
aastore
dup
iconst_1
5: new io.netty.handler.codec.http.HttpObjectAggregator
dup
sipush 8192
invokespecial io.netty.handler.codec.http.HttpObjectAggregator.<init>:(I)V
aastore
dup
iconst_2
6: getstatic io.netty.handler.codec.http.websocketx.extensions.compression.WebSocketClientCompressionHandler.INSTANCE:Lio/netty/handler/codec/http/websocketx/extensions/compression/WebSocketClientCompressionHandler;
aastore
dup
iconst_3
7: aload 0
getfield io.netty.example.http.websocketx.client.WebSocketClient$1.val$handler:Lio/netty/example/http/websocketx/client/WebSocketClientHandler;
aastore
8: invokeinterface io.netty.channel.ChannelPipeline.addLast:([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/http/websocketx/client/WebSocketClient$1;
0 10 1 ch Lio/netty/channel/socket/SocketChannel;
1 10 2 p Lio/netty/channel/ChannelPipeline;
MethodParameters:
Name Flags
ch
protected void initChannel(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x1044) ACC_PROTECTED, 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.http.websocketx.client.WebSocketClient$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: "WebSocketClient.java"
EnclosingMethod: io.netty.example.http.websocketx.client.WebSocketClient.main:([Ljava/lang/String;)V
NestHost: io.netty.example.http.websocketx.client.WebSocketClient
InnerClasses:
io.netty.example.http.websocketx.client.WebSocketClient$1