public final class io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest extends io.netty.handler.codec.socksx.v5.AbstractSocks5Message implements io.netty.handler.codec.socksx.v5.Socks5CommandRequest
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest
super_class: io.netty.handler.codec.socksx.v5.AbstractSocks5Message
{
private final io.netty.handler.codec.socksx.v5.Socks5CommandType type;
descriptor: Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.socksx.v5.Socks5AddressType dstAddrType;
descriptor: Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
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.v5.Socks5CommandType, io.netty.handler.codec.socksx.v5.Socks5AddressType, java.lang.String, int);
descriptor: (Lio/netty/handler/codec/socksx/v5/Socks5CommandType;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 "type"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest io.netty.handler.codec.socksx.v5.Socks5CommandType io.netty.handler.codec.socksx.v5.Socks5AddressType java.lang.String int
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "dstAddrType"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "dstAddr"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.IPv4:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 10
8: aload 3
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifne 17
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "dstAddr: "
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
10: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.DOMAIN:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 14
11: aload 3
invokestatic java.net.IDN.toASCII:(Ljava/lang/String;)Ljava/lang/String;
astore 3
12: aload 3
invokevirtual java.lang.String.length:()I
sipush 255
if_icmple 17
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "dstAddr: "
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
14: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.socksx.v5.Socks5AddressType.IPv6:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
if_acmpne 17
15: aload 3
invokestatic io.netty.util.NetUtil.isValidIpV6Address:(Ljava/lang/String;)Z
ifne 17
16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "dstAddr: "
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
17: StackMap locals:
StackMap stack:
iload 4
iflt 18
iload 4
ldc 65535
if_icmple 19
18: 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 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
19: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.type:Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
20: aload 0
aload 2
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstAddrType:Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
21: aload 0
aload 3
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstAddr:Ljava/lang/String;
22: aload 0
iload 4
putfield io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstPort:I
23: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequest;
0 24 1 type Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
0 24 2 dstAddrType Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
0 24 3 dstAddr Ljava/lang/String;
0 24 4 dstPort I
MethodParameters:
Name Flags
type
dstAddrType
dstAddr
dstPort
public io.netty.handler.codec.socksx.v5.Socks5CommandType type();
descriptor: ()Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
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.DefaultSocks5CommandRequest.type:Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequest;
public io.netty.handler.codec.socksx.v5.Socks5AddressType dstAddrType();
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.DefaultSocks5CommandRequest.dstAddrType: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/DefaultSocks5CommandRequest;
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.v5.DefaultSocks5CommandRequest.dstAddr:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequest;
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.v5.DefaultSocks5CommandRequest.dstPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequest;
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.DefaultSocks5CommandRequest.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 ", type: "
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 "(type: "
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.DefaultSocks5CommandRequest.type:()Lio/netty/handler/codec/socksx/v5/Socks5CommandType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc ", dstAddrType: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstAddrType:()Lio/netty/handler/codec/socksx/v5/Socks5AddressType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
12: aload 1
ldc ", dstAddr: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstAddr:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
ldc ", dstPort: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
aload 0
invokevirtual io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest.dstPort:()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/DefaultSocks5CommandRequest;
1 18 1 buf Ljava/lang/StringBuilder;
3 18 2 decoderResult Lio/netty/handler/codec/DecoderResult;
}
SourceFile: "DefaultSocks5CommandRequest.java"