public class io.netty.handler.codec.serialization.ObjectDecoder extends io.netty.handler.codec.LengthFieldBasedFrameDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.serialization.ObjectDecoder
super_class: io.netty.handler.codec.LengthFieldBasedFrameDecoder
{
private final io.netty.handler.codec.serialization.ClassResolver classResolver;
descriptor: Lio/netty/handler/codec/serialization/ClassResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.codec.serialization.ClassResolver);
descriptor: (Lio/netty/handler/codec/serialization/ClassResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc 1048576
aload 1
invokespecial io.netty.handler.codec.serialization.ObjectDecoder.<init>:(ILio/netty/handler/codec/serialization/ClassResolver;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/serialization/ObjectDecoder;
0 2 1 classResolver Lio/netty/handler/codec/serialization/ClassResolver;
MethodParameters:
Name Flags
classResolver
public void <init>(int, io.netty.handler.codec.serialization.ClassResolver);
descriptor: (ILio/netty/handler/codec/serialization/ClassResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
iconst_4
iconst_0
iconst_4
invokespecial io.netty.handler.codec.LengthFieldBasedFrameDecoder.<init>:(IIIII)V
1: aload 0
aload 2
putfield io.netty.handler.codec.serialization.ObjectDecoder.classResolver:Lio/netty/handler/codec/serialization/ClassResolver;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/serialization/ObjectDecoder;
0 3 1 maxObjectSize I
0 3 2 classResolver Lio/netty/handler/codec/serialization/ClassResolver;
MethodParameters:
Name Flags
maxObjectSize
classResolver
protected java.lang.Object decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Ljava/lang/Object;
checkcast io.netty.buffer.ByteBuf
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
new io.netty.handler.codec.serialization.CompactObjectInputStream
dup
new io.netty.buffer.ByteBufInputStream
dup
aload 3
iconst_1
invokespecial io.netty.buffer.ByteBufInputStream.<init>:(Lio/netty/buffer/ByteBuf;Z)V
aload 0
getfield io.netty.handler.codec.serialization.ObjectDecoder.classResolver:Lio/netty/handler/codec/serialization/ClassResolver;
invokespecial io.netty.handler.codec.serialization.CompactObjectInputStream.<init>:(Ljava/io/InputStream;Lio/netty/handler/codec/serialization/ClassResolver;)V
astore 4
start local 4 4: aload 4
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 6
5: aload 4
invokevirtual java.io.ObjectInputStream.close:()V
6: aload 6
areturn
7: StackMap locals: io.netty.handler.codec.serialization.ObjectDecoder io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf io.netty.buffer.ByteBuf java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
astore 5
8: aload 4
invokevirtual java.io.ObjectInputStream.close:()V
9: aload 5
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/serialization/ObjectDecoder;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 10 2 in Lio/netty/buffer/ByteBuf;
1 10 3 frame Lio/netty/buffer/ByteBuf;
4 10 4 ois Ljava/io/ObjectInputStream;
Exception table:
from to target type
4 5 7 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
in
}
SourceFile: "ObjectDecoder.java"