Class Socks5InitialRequestDecoder

  • All Implemented Interfaces:
    ChannelHandler, ChannelInboundHandler

    public class Socks5InitialRequestDecoder
    extends ReplayingDecoder<io.netty.handler.codec.socksx.v5.Socks5InitialRequestDecoder.State>
    Decodes a single Socks5InitialRequest 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.