public final class io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse extends io.netty.handler.codec.socksx.v5.AbstractSocks5Message implements io.netty.handler.codec.socksx.v5.Socks5CommandResponse
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse
super_class: io.netty.handler.codec.socksx.v5.AbstractSocks5Message
{
private final io.netty.handler.codec.socksx.v5.Socks5CommandStatus status;
descriptor: Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.socksx.v5.Socks5AddressType bndAddrType;
descriptor: Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String bndAddr;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int bndPort;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.codec.socksx.v5.Socks5CommandStatus, io.netty.handler.codec.socksx.v5.Socks5AddressType);
descriptor: (Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;Lio/netty/handler/codec/socksx/v5/Socks5AddressType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_0
invokespecial io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.<init>:(Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;Lio/netty/handler/codec/socksx/v5/Socks5AddressType;Ljava/lang/String;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
0 2 1 status Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
0 2 2 bndAddrType Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
MethodParameters:
Name Flags
status
bndAddrType
public void <init>(io.netty.handler.codec.socksx.v5.Socks5CommandStatus, io.netty.handler.codec.socksx.v5.Socks5AddressType, java.lang.String, int);
descriptor: (Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;Lio/netty/handler/codec/socksx/v5/Socks5AddressType;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial io.netty.handler.codec.socksx.v5.AbstractSocks5Message.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "status"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse io.netty.handler.codec.socksx.v5.Socks5CommandStatus io.netty.handler.codec.socksx.v5.Socks5AddressType java.lang.String int
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "bndAddrType"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnull 16
6: aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.IPv4:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 9
7: aload 3
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifne 16
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bndAddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.DOMAIN:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 13
10: aload 3
invokestatic java.net.IDN.toASCII:(Ljava/lang/String;)Ljava/lang/String;
astore 3
11: aload 3
invokevirtual java.lang.String.length:()I
sipush 255
if_icmple 16
12: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bndAddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (expected: less than 256 chars)"
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
13: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.IPv6:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 16
14: aload 3
invokestatic io.netty.util.NetUtil.isValidIpV6Address:(Ljava/lang/String;)Z
ifne 16
15: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bndAddr: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (expected: a valid IPv6 address)"
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
16: StackMap locals:
StackMap stack:
iload 4
iflt 17
iload 4
ldc 65535
if_icmple 18
17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bndPort: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
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
18: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.status:Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
19: aload 0
aload 2
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndAddrType:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
20: aload 0
aload 3
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndAddr:Ljava/lang/String;
21: aload 0
iload 4
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndPort:I
22: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
0 23 1 status Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
0 23 2 bndAddrType Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
0 23 3 bndAddr Ljava/lang/String;
0 23 4 bndPort I
MethodParameters:
Name Flags
status
bndAddrType
bndAddr
bndPort
public io.netty.handler.codec.socksx.v5.Socks5CommandStatus status();
descriptor: ()Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.status:Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
public io.netty.handler.codec.socksx.v5.Socks5AddressType bndAddrType();
descriptor: ()Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndAddrType:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
public java.lang.String bndAddr();
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.v5.DefaultSocks5CommandResponse.bndAddr:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
public int bndPort();
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.v5.DefaultSocks5CommandResponse.bndPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
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
sipush 128
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.v5.DefaultSocks5CommandResponse.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 ", status: "
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 "(status: "
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.v5.DefaultSocks5CommandResponse.status:()Lio/netty/handler/codec/socksx/v5/Socks5CommandStatus;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc ", bndAddrType: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndAddrType:()Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
12: aload 1
ldc ", bndAddr: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndAddr:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
ldc ", bndPort: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse.bndPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
16: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: 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 18 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandResponse;
1 18 1 buf Ljava/lang/StringBuilder;
3 18 2 decoderResult Lio/netty/handler/codec/DecoderResult;
}
SourceFile: "DefaultSocks5CommandResponse.java"