@ChannelHandler.Sharable public final class Socks4ClientEncoder extends io.netty.handler.codec.MessageToByteEncoder<Socks4CommandRequest>
Socks4CommandRequest into a ByteBuf.| Modifier and Type | Field and Description |
|---|---|
static Socks4ClientEncoder |
INSTANCE
The singleton instance of
Socks4ClientEncoder |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Socks4CommandRequest msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final Socks4ClientEncoder INSTANCE
Socks4ClientEncoderprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
Socks4CommandRequest msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.MessageToByteEncoder<Socks4CommandRequest>ExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.