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