public final class io.netty.handler.codec.socksx.v4.Socks4ServerEncoder extends io.netty.handler.codec.MessageToByteEncoder<io.netty.handler.codec.socksx.v4.Socks4CommandResponse>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.socksx.v4.Socks4ServerEncoder
super_class: io.netty.handler.codec.MessageToByteEncoder
{
public static final io.netty.handler.codec.socksx.v4.Socks4ServerEncoder INSTANCE;
descriptor: Lio/netty/handler/codec/socksx/v4/Socks4ServerEncoder;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final byte[] IPv4_HOSTNAME_ZEROED;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.handler.codec.socksx.v4.Socks4ServerEncoder
dup
invokespecial io.netty.handler.codec.socksx.v4.Socks4ServerEncoder.<init>:()V
putstatic io.netty.handler.codec.socksx.v4.Socks4ServerEncoder.INSTANCE:Lio/netty/handler/codec/socksx/v4/Socks4ServerEncoder;
1: iconst_4
newarray 8
putstatic io.netty.handler.codec.socksx.v4.Socks4ServerEncoder.IPv4_HOSTNAME_ZEROED:[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/Socks4ServerEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.socksx.v4.Socks4CommandResponse, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/socksx/v4/Socks4CommandResponse;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
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandResponse.status:()Lio/netty/handler/codec/socksx/v4/Socks4CommandStatus;
invokevirtual io.netty.handler.codec.socksx.v4.Socks4CommandStatus.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.Socks4CommandResponse.dstPort:()I
invokevirtual io.netty.buffer.ByteBuf.writeShort:(I)Lio/netty/buffer/ByteBuf;
pop
3: aload 3
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandResponse.dstAddr:()Ljava/lang/String;
ifnonnull 4
getstatic io.netty.handler.codec.socksx.v4.Socks4ServerEncoder.IPv4_HOSTNAME_ZEROED:[B
goto 5
4: StackMap locals:
StackMap stack: io.netty.buffer.ByteBuf
aload 2
invokeinterface io.netty.handler.codec.socksx.v4.Socks4CommandResponse.dstAddr:()Ljava/lang/String;
invokestatic io.netty.util.NetUtil.createByteArrayFromIpAddressString:(Ljava/lang/String;)[B
5: StackMap locals: io.netty.handler.codec.socksx.v4.Socks4ServerEncoder io.netty.channel.ChannelHandlerContext io.netty.handler.codec.socksx.v4.Socks4CommandResponse io.netty.buffer.ByteBuf
StackMap stack: io.netty.buffer.ByteBuf byte[]
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
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/v4/Socks4ServerEncoder;
0 7 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 7 2 msg Lio/netty/handler/codec/socksx/v4/Socks4CommandResponse;
0 7 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.Socks4CommandResponse
aload 3
invokevirtual io.netty.handler.codec.socksx.v4.Socks4ServerEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/socksx/v4/Socks4CommandResponse;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/Socks4CommandResponse;>;
SourceFile: "Socks4ServerEncoder.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()