public class io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse extends io.netty.handler.codec.socksx.v4.AbstractSocks4Message implements io.netty.handler.codec.socksx.v4.Socks4CommandResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse
super_class: io.netty.handler.codec.socksx.v4.AbstractSocks4Message
{
private final io.netty.handler.codec.socksx.v4.Socks4CommandStatus status;
descriptor: Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String dstAddr;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int dstPort;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.codec.socksx.v4.Socks4CommandStatus);
descriptor: (Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_0
invokespecial io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.<init>:(Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
0 2 1 status Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
MethodParameters:
Name Flags
status
public void <init>(io.netty.handler.codec.socksx.v4.Socks4CommandStatus, java.lang.String, int);
descriptor: (Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.netty.handler.codec.socksx.v4.AbstractSocks4Message.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "cmdStatus"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse io.netty.handler.codec.socksx.v4.Socks4CommandStatus java.lang.String int
StackMap stack:
aload 2
ifnull 8
4: aload 2
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifne 8
5: new java.lang.IllegalArgumentException
dup
6: new java.lang.StringBuilder
dup
ldc "dstAddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (expected: a valid IPv4 address)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
iflt 9
iload 3
ldc 65535
if_icmple 10
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "dstPort: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 0~65535)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.status:Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
11: aload 0
aload 2
putfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstAddr:Ljava/lang/String;
12: aload 0
iload 3
putfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstPort:I
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
0 14 1 status Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
0 14 2 dstAddr Ljava/lang/String;
0 14 3 dstPort I
MethodParameters:
Name Flags
status
dstAddr
dstPort
public io.netty.handler.codec.socksx.v4.Socks4CommandStatus status();
descriptor: ()Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.status:Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
public java.lang.String dstAddr();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstAddr:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
public int dstPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 96
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 1
aload 0
invokestatic io.netty.util.internal.StringUtil.simpleClassName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.decoderResult:()Lio/netty/handler/codec/DecoderResult;
astore 2
start local 2 3: aload 2
invokevirtual io.netty.handler.codec.DecoderResult.isSuccess:()Z
ifne 8
4: aload 1
ldc "(decoderResult: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc ", dstAddr: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: goto 9
8: StackMap locals: java.lang.StringBuilder io.netty.handler.codec.DecoderResult
StackMap stack:
aload 1
ldc "(dstAddr: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstAddr:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc ", dstPort: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v4.DefaultSocks4CommandResponse.dstPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
12: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/socksx/v4/DefaultSocks4CommandResponse;
1 14 1 buf Ljava/lang/StringBuilder;
3 14 2 decoderResult Lio/netty/handler/codec/DecoderResult;
}
SourceFile: "DefaultSocks4CommandResponse.java"