public class io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder extends io.netty.handler.codec.ReplayingDecoder<io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder
super_class: io.netty.handler.codec.ReplayingDecoder
{
private static volatile int[] $SWITCH_TABLE$io$netty$handler$codec$socksx$v5$Socks5InitialResponseDecoder$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.INIT:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokespecial io.netty.handler.codec.ReplayingDecoder.<init>:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder;
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.$SWITCH_TABLE$io$netty$handler$codec$socksx$v5$Socks5InitialResponseDecoder$State:()[I
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.state:()Ljava/lang/Object;
checkcast io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 9
3: 13
default: 14
}
1: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.netty.buffer.ByteBuf.readByte:()B
istore 4
start local 4 2: iload 4
getstatic io.netty.handler.codec.socksx.SocksVersion.SOCKS5:Lio/netty/handler/codec/socksx/SocksVersion;
invokevirtual io.netty.handler.codec.socksx.SocksVersion.byteValue:()B
if_icmpeq 6
3: new io.netty.handler.codec.DecoderException
dup
4: new java.lang.StringBuilder
dup
ldc "unsupported version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic io.netty.handler.codec.socksx.SocksVersion.SOCKS5:Lio/netty/handler/codec/socksx/SocksVersion;
invokevirtual io.netty.handler.codec.socksx.SocksVersion.byteValue:()B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial io.netty.handler.codec.DecoderException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: int
StackMap stack:
aload 2
invokevirtual io.netty.buffer.ByteBuf.readByte:()B
invokestatic io.netty.handler.codec.socksx.v5.Socks5AuthMethod.valueOf:(B)Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
astore 5
start local 5 7: aload 3
new io.netty.handler.codec.socksx.v5.DefaultSocks5InitialResponse
dup
aload 5
invokespecial io.netty.handler.codec.socksx.v5.DefaultSocks5InitialResponse.<init>:(Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.SUCCESS:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.checkpoint:(Ljava/lang/Object;)V
end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.actualReadableBytes:()I
istore 4
start local 4 10: iload 4
ifle 17
11: aload 3
aload 2
iload 4
invokevirtual io.netty.buffer.ByteBuf.readRetainedSlice:(I)Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: goto 17
end local 4 13: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.actualReadableBytes:()I
invokevirtual io.netty.buffer.ByteBuf.skipBytes:(I)Lio/netty/buffer/ByteBuf;
pop
14: StackMap locals:
StackMap stack:
goto 17
StackMap locals:
StackMap stack: java.lang.Exception
15: astore 4
start local 4 16: aload 0
aload 3
aload 4
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.fail:(Ljava/util/List;Ljava/lang/Exception;)V
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder;
0 18 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 18 2 in Lio/netty/buffer/ByteBuf;
0 18 3 out Ljava/util/List<Ljava/lang/Object;>;
2 9 4 version B
7 9 5 authMethod Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
10 13 4 readableBytes I
16 17 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 14 15 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
in
out
private void fail(java.util.List<java.lang.Object>, java.lang.Exception);
descriptor: (Ljava/util/List;Ljava/lang/Exception;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.codec.DecoderException
ifne 2
1: new io.netty.handler.codec.DecoderException
dup
aload 2
invokespecial io.netty.handler.codec.DecoderException.<init>:(Ljava/lang/Throwable;)V
astore 2
2: StackMap locals:
StackMap stack:
aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.FAILURE:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.checkpoint:(Ljava/lang/Object;)V
3: new io.netty.handler.codec.socksx.v5.DefaultSocks5InitialResponse
dup
getstatic io.netty.handler.codec.socksx.v5.Socks5AuthMethod.UNACCEPTED:Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;
invokespecial io.netty.handler.codec.socksx.v5.DefaultSocks5InitialResponse.<init>:(Lio/netty/handler/codec/socksx/v5/Socks5AuthMethod;)V
astore 3
start local 3 4: aload 3
aload 2
invokestatic io.netty.handler.codec.DecoderResult.failure:(Ljava/lang/Throwable;)Lio/netty/handler/codec/DecoderResult;
invokeinterface io.netty.handler.codec.socksx.v5.Socks5Message.setDecoderResult:(Lio/netty/handler/codec/DecoderResult;)V
5: aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder;
0 7 1 out Ljava/util/List<Ljava/lang/Object;>;
0 7 2 cause Ljava/lang/Exception;
4 7 3 m Lio/netty/handler/codec/socksx/v5/Socks5Message;
Signature: (Ljava/util/List<Ljava/lang/Object;>;Ljava/lang/Exception;)V
MethodParameters:
Name Flags
out
cause
static int[] $SWITCH_TABLE$io$netty$handler$codec$socksx$v5$Socks5InitialResponseDecoder$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.$SWITCH_TABLE$io$netty$handler$codec$socksx$v5$Socks5InitialResponseDecoder$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.values:()[Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.FAILURE:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.INIT:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.SUCCESS:Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;
invokevirtual io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder.$SWITCH_TABLE$io$netty$handler$codec$socksx$v5$Socks5InitialResponseDecoder$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
Signature: Lio/netty/handler/codec/ReplayingDecoder<Lio/netty/handler/codec/socksx/v5/Socks5InitialResponseDecoder$State;>;
SourceFile: "Socks5InitialResponseDecoder.java"
NestMembers:
io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State
InnerClasses:
final State = io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder$State of io.netty.handler.codec.socksx.v5.Socks5InitialResponseDecoder