public class io.netty.example.proxy.HexDumpProxyInitializer 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.proxy.HexDumpProxyInitializer
super_class: io.netty.channel.ChannelInitializer
{
private final java.lang.String remoteHost;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int remotePort;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)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.proxy.HexDumpProxyInitializer.remoteHost:Ljava/lang/String;
2: aload 0
iload 2
putfield io.netty.example.proxy.HexDumpProxyInitializer.remotePort:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/example/proxy/HexDumpProxyInitializer;
0 4 1 remoteHost Ljava/lang/String;
0 4 2 remotePort I
MethodParameters:
Name Flags
remoteHost
remotePort
public void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.socket.SocketChannel.pipeline:()Lio/netty/channel/ChannelPipeline;
iconst_2
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
1: new io.netty.handler.logging.LoggingHandler
dup
getstatic io.netty.handler.logging.LogLevel.INFO:Lio/netty/handler/logging/LogLevel;
invokespecial io.netty.handler.logging.LoggingHandler.<init>:(Lio/netty/handler/logging/LogLevel;)V
aastore
dup
iconst_1
2: new io.netty.example.proxy.HexDumpProxyFrontendHandler
dup
aload 0
getfield io.netty.example.proxy.HexDumpProxyInitializer.remoteHost:Ljava/lang/String;
aload 0
getfield io.netty.example.proxy.HexDumpProxyInitializer.remotePort:I
invokespecial io.netty.example.proxy.HexDumpProxyFrontendHandler.<init>:(Ljava/lang/String;I)V
aastore
3: invokeinterface io.netty.channel.ChannelPipeline.addLast:([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/example/proxy/HexDumpProxyInitializer;
0 5 1 ch Lio/netty/channel/socket/SocketChannel;
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.proxy.HexDumpProxyInitializer.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: "HexDumpProxyInitializer.java"