public abstract class io.netty.handler.codec.MessageToMessageDecoder<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.handler.codec.MessageToMessageDecoder
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
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: aload 0
aload 0
ldc Lio/netty/handler/codec/MessageToMessageDecoder;
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.handler.codec.MessageToMessageDecoder.matcher:Lio/netty/util/internal/TypeParameterMatcher;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/MessageToMessageDecoder<TI;>;
protected void <init>(java.lang.Class<? extends I>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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 1
invokestatic io.netty.util.internal.TypeParameterMatcher.get:(Ljava/lang/Class;)Lio/netty/util/internal/TypeParameterMatcher;
putfield io.netty.handler.codec.MessageToMessageDecoder.matcher:Lio/netty/util/internal/TypeParameterMatcher;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/MessageToMessageDecoder<TI;>;
0 3 1 inboundMessageType Ljava/lang/Class<+TI;>;
Signature: (Ljava/lang/Class<+TI;>;)V
MethodParameters:
Name Flags
inboundMessageType
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.handler.codec.MessageToMessageDecoder.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/handler/codec/MessageToMessageDecoder<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=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.netty.handler.codec.CodecOutputList.newInstance:()Lio/netty/handler/codec/CodecOutputList;
astore 3
start local 3 1: aload 0
aload 2
invokevirtual io.netty.handler.codec.MessageToMessageDecoder.acceptInboundMessage:(Ljava/lang/Object;)Z
ifeq 10
2: aload 2
astore 4
start local 4 3: aload 0
aload 1
aload 4
aload 3
invokevirtual io.netty.handler.codec.MessageToMessageDecoder.decode:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
4: goto 8
StackMap locals: io.netty.handler.codec.MessageToMessageDecoder io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.CodecOutputList java.lang.Object
StackMap stack: java.lang.Throwable
5: astore 5
6: aload 4
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
7: aload 5
athrow
8: StackMap locals:
StackMap stack:
aload 4
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
end local 4 9: goto 25
10: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual io.netty.handler.codec.CodecOutputList.add:(Ljava/lang/Object;)Z
pop
11: goto 25
StackMap locals:
StackMap stack: io.netty.handler.codec.DecoderException
12: astore 4
start local 4 13: aload 4
athrow
end local 4 14: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 15: new io.netty.handler.codec.DecoderException
dup
aload 4
invokespecial io.netty.handler.codec.DecoderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
17: aload 3
invokevirtual io.netty.handler.codec.CodecOutputList.size:()I
istore 7
start local 7 18: iconst_0
istore 8
start local 8 19: goto 22
20: StackMap locals: io.netty.handler.codec.MessageToMessageDecoder io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.CodecOutputList top top java.lang.Throwable int int
StackMap stack:
aload 1
aload 3
iload 8
invokevirtual io.netty.handler.codec.CodecOutputList.getUnsafe:(I)Ljava/lang/Object;
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
21: iinc 8 1
StackMap locals:
StackMap stack:
22: iload 8
iload 7
if_icmplt 20
end local 8 23: aload 3
invokevirtual io.netty.handler.codec.CodecOutputList.recycle:()V
end local 7 24: aload 6
athrow
25: StackMap locals: io.netty.handler.codec.MessageToMessageDecoder io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.CodecOutputList
StackMap stack:
aload 3
invokevirtual io.netty.handler.codec.CodecOutputList.size:()I
istore 7
start local 7 26: iconst_0
istore 8
start local 8 27: goto 30
28: StackMap locals: io.netty.handler.codec.MessageToMessageDecoder io.netty.channel.ChannelHandlerContext java.lang.Object io.netty.handler.codec.CodecOutputList top top top int int
StackMap stack:
aload 1
aload 3
iload 8
invokevirtual io.netty.handler.codec.CodecOutputList.getUnsafe:(I)Ljava/lang/Object;
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
29: iinc 8 1
StackMap locals:
StackMap stack:
30: iload 8
iload 7
if_icmplt 28
end local 8 31: aload 3
invokevirtual io.netty.handler.codec.CodecOutputList.recycle:()V
end local 7 32: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lio/netty/handler/codec/MessageToMessageDecoder<TI;>;
0 33 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 33 2 msg Ljava/lang/Object;
1 33 3 out Lio/netty/handler/codec/CodecOutputList;
3 9 4 cast TI;
13 14 4 e Lio/netty/handler/codec/DecoderException;
15 16 4 e Ljava/lang/Exception;
18 24 7 size I
26 32 7 size I
19 23 8 i I
27 31 8 i I
Exception table:
from to target type
3 5 5 any
1 11 12 Class io.netty.handler.codec.DecoderException
1 11 14 Class java.lang.Exception
1 16 16 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
protected abstract void decode(io.netty.channel.ChannelHandlerContext, I, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;TI;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
}
Signature: <I:Ljava/lang/Object;>Lio/netty/channel/ChannelInboundHandlerAdapter;
SourceFile: "MessageToMessageDecoder.java"