@ChannelHandler.Sharable public final class Socks4ConnectHandler extends SocksConnectHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
host, port, PROXIED, PROXIED_RESPONSE, PROXIED_SECURE
Constructor and Description |
---|
Socks4ConnectHandler(Configuration configuration,
MockServerLogger mockServerLogger,
LifeCycle server,
String host,
int port) |
Modifier and Type | Method and Description |
---|---|
protected Object |
failureResponse(Object request) |
protected void |
removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx) |
protected Object |
successResponse(Object request) |
channelRead0, exceptionCaught, removeHandler, removeHandler
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public Socks4ConnectHandler(Configuration configuration, MockServerLogger mockServerLogger, LifeCycle server, String host, int port)
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx)
removeCodecSupport
in class SocksConnectHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
protected Object successResponse(Object request)
successResponse
in class RelayConnectHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
protected Object failureResponse(Object request)
failureResponse
in class RelayConnectHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
Copyright © 2022. All rights reserved.