public class io.netty.example.echo.EchoClientHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.example.echo.EchoClientHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private final io.netty.buffer.ByteBuf firstMessage;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
getstatic io.netty.example.echo.EchoClient.SIZE:I
invokestatic io.netty.buffer.Unpooled.buffer:(I)Lio/netty/buffer/ByteBuf;
putfield io.netty.example.echo.EchoClientHandler.firstMessage:Lio/netty/buffer/ByteBuf;
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: io.netty.example.echo.EchoClientHandler int
StackMap stack:
aload 0
getfield io.netty.example.echo.EchoClientHandler.firstMessage:Lio/netty/buffer/ByteBuf;
iload 1
i2b
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield io.netty.example.echo.EchoClientHandler.firstMessage:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.capacity:()I
if_icmplt 4
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/example/echo/EchoClientHandler;
3 7 1 i I
public void channelActive(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.netty.example.echo.EchoClientHandler.firstMessage:Lio/netty/buffer/ByteBuf;
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/example/echo/EchoClientHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
MethodParameters:
Name Flags
ctx
public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.write:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/example/echo/EchoClientHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 msg Ljava/lang/Object;
MethodParameters:
Name Flags
ctx
msg
public void channelReadComplete(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.flush:()Lio/netty/channel/ChannelHandlerContext;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/example/echo/EchoClientHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
MethodParameters:
Name Flags
ctx
public void exceptionCaught(io.netty.channel.ChannelHandlerContext, java.lang.Throwable);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.Throwable.printStackTrace:()V
1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.close:()Lio/netty/channel/ChannelFuture;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/example/echo/EchoClientHandler;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 3 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
ctx
cause
}
SourceFile: "EchoClientHandler.java"