public final class io.netty.handler.codec.socksx.v4.Socks4ClientEncoder extends io.netty.handler.codec.MessageToByteEncoder<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v4.Socks4ClientEncoder
super_class: io.netty.handler.codec.MessageToByteEncoder
{
public static final io.netty.handler.codec.socksx.v4.Socks4ClientEncoder INSTANCE;
descriptor: Lio/netty/handler/codec/socksx/v4/Socks4ClientEncoder;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final byte[] IPv4_DOMAIN_MARKER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.netty.handler.codec.socksx.v4.Socks4ClientEncoder
dup
invokespecial io.netty.handler.codec.socksx.v4.Socks4ClientEncoder.<init>:()V
putstatic io.netty.handler.codec.socksx.v4.Socks4ClientEncoder.INSTANCE:Lio/netty/handler/codec/socksx/v4/Socks4ClientEncoder;
1: iconst_4
newarray 8
dup
iconst_3
iconst_1
bastore
putstatic io.netty.handler.codec.socksx.v4.Socks4ClientEncoder.IPv4_DOMAIN_MARKER:[B
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.MessageToByteEncoder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/socksx/v4/Socks4ClientEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.socksx.v4.Socks4CommandRequest, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/socksx/v4/Socks4CommandRequest;Lio/netty/buffer/ByteBuf;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.version:()Lio/netty/handler/codec/socksx/SocksVersion;
invokevirtual io.netty.handler.codec.socksx.SocksVersion.byteValue:()B
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.type:()Lio/netty/handler/codec/socksx/v4/Socks4CommandType;
invokevirtual io.netty.handler.codec.socksx.v4.Socks4CommandType.byteValue:()B
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
2: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.dstPort:()I
invokevirtual io.netty.buffer.ByteBuf.writeShort:(I)Lio/netty/buffer/ByteBuf;
pop
3: aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.dstAddr:()Ljava/lang/String;
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifeq 8
4: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.dstAddr:()Ljava/lang/String;
invokestatic io.netty.util.NetUtil.createByteArrayFromIpAddressString:(Ljava/lang/String;)[B
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
5: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.userId:()Ljava/lang/String;
invokestatic io.netty.buffer.ByteBufUtil.writeAscii:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)I
pop
6: aload 3
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
7: goto 13
8: StackMap locals:
StackMap stack:
aload 3
getstatic io.netty.handler.codec.socksx.v4.Socks4ClientEncoder.IPv4_DOMAIN_MARKER:[B
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
9: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.userId:()Ljava/lang/String;
invokestatic io.netty.buffer.ByteBufUtil.writeAscii:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)I
pop
10: aload 3
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
11: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandRequest.dstAddr:()Ljava/lang/String;
invokestatic io.netty.buffer.ByteBufUtil.writeAscii:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)I
pop
12: aload 3
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
13: StackMap locals:
StackMap stack:
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/Socks4ClientEncoder;
0 14 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 14 2 msg Lio/netty/handler/codec/socksx/v4/Socks4CommandRequest;
0 14 3 out Lio/netty/buffer/ByteBuf;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
out
protected void encode(io.netty.channel.ChannelHandlerContext, java.lang.Object, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast io.netty.handler.codec.socksx.v4.Socks4CommandRequest
aload 3
invokevirtual io.netty.handler.codec.socksx.v4.Socks4ClientEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/socksx/v4/Socks4CommandRequest;Lio/netty/buffer/ByteBuf;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/handler/codec/MessageToByteEncoder<Lio/netty/handler/codec/socksx/v4/Socks4CommandRequest;>;
SourceFile: "Socks4ClientEncoder.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()