public abstract class io.netty.channel.SimpleChannelInboundHandler<I> extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.channel.SimpleChannelInboundHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private final io.netty.util.internal.TypeParameterMatcher matcher;
descriptor: Lio/netty/util/internal/TypeParameterMatcher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean autoRelease;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial io.netty.channel.SimpleChannelInboundHandler.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
protected void <init>(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
aload 0
ldc Lio/netty/channel/SimpleChannelInboundHandler;
ldc "I"
invokestatic io.netty.util.internal.TypeParameterMatcher.find:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Lio/netty/util/internal/TypeParameterMatcher;
putfield io.netty.channel.SimpleChannelInboundHandler.matcher:Lio/netty/util/internal/TypeParameterMatcher;
2: aload 0
iload 1
putfield io.netty.channel.SimpleChannelInboundHandler.autoRelease:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
0 4 1 autoRelease Z
MethodParameters:
Name Flags
autoRelease
protected void <init>(java.lang.Class<? extends I>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial io.netty.channel.SimpleChannelInboundHandler.<init>:(Ljava/lang/Class;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
0 2 1 inboundMessageType Ljava/lang/Class<+TI;>;
Signature: (Ljava/lang/Class<+TI;>;)V
MethodParameters:
Name Flags
inboundMessageType
protected void <init>(java.lang.Class<? extends I>, );
descriptor: (Ljava/lang/Class;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
aload 1
invokestatic io.netty.util.internal.TypeParameterMatcher.get:(Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher;
putfield io.netty.channel.SimpleChannelInboundHandler.matcher:Lio/netty/util/internal/TypeParameterMatcher;
2: aload 0
iload 2
putfield io.netty.channel.SimpleChannelInboundHandler.autoRelease:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
0 4 1 inboundMessageType Ljava/lang/Class<+TI;>;
0 4 2 autoRelease Z
Signature: (Ljava/lang/Class<+TI;>;Z)V
MethodParameters:
Name Flags
inboundMessageType
autoRelease
public boolean acceptInboundMessage(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.SimpleChannelInboundHandler.matcher:Lio/netty/util/internal/TypeParameterMatcher;
aload 1
invokevirtual io.netty.util.internal.TypeParameterMatcher.match:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
0 1 1 msg Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
msg
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=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: aload 0
aload 2
invokevirtual io.netty.channel.SimpleChannelInboundHandler.acceptInboundMessage:(Ljava/lang/Object;)Z
ifeq 5
2: aload 2
astore 4
start local 4 3: aload 0
aload 1
aload 4
invokevirtual io.netty.channel.SimpleChannelInboundHandler.channelRead0:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
end local 4 4: goto 12
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
6: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
7: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
9: aload 0
getfield io.netty.channel.SimpleChannelInboundHandler.autoRelease:Z
ifeq 11
iload 3
ifeq 11
10: aload 2
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
11: StackMap locals: io.netty.channel.SimpleChannelInboundHandler io.netty.channel.ChannelHandlerContext java.lang.Object int top java.lang.Throwable
StackMap stack:
aload 5
athrow
12: StackMap locals: io.netty.channel.SimpleChannelInboundHandler io.netty.channel.ChannelHandlerContext java.lang.Object int
StackMap stack:
aload 0
getfield io.netty.channel.SimpleChannelInboundHandler.autoRelease:Z
ifeq 14
iload 3
ifeq 14
13: aload 2
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/channel/SimpleChannelInboundHandler<TI;>;
0 15 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 15 2 msg Ljava/lang/Object;
1 15 3 release Z
3 4 4 imsg TI;
Exception table:
from to target type
1 8 8 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
protected abstract void channelRead0(io.netty.channel.ChannelHandlerContext, );
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;TI;)V
MethodParameters:
Name Flags
ctx
msg
}
Signature: <I:Ljava/lang/Object;>Lio/netty/channel/ChannelInboundHandlerAdapter;
SourceFile: "SimpleChannelInboundHandler.java"