public class Socks5InitialResponseDecoder extends io.netty.handler.codec.ReplayingDecoder<Socks5InitialResponseDecoder.State>
Socks5InitialResponse from the inbound ByteBufs.
On successful decode, this decoder will forward the received data to the next handler, so that
other handler can remove or replace this decoder later. On failed decode, this decoder will
discard the received data, so that other handler closes the connection later.| Modifier and Type | Class and Description |
|---|---|
static class |
Socks5InitialResponseDecoder.State |
| Constructor and Description |
|---|
Socks5InitialResponseDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
callDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableCopyright © 2008–2025 The Netty Project. All rights reserved.