@ChannelHandler.Sharable public final class SocksConnectHandler extends RelayConnectHandler<io.netty.handler.codec.socks.SocksCmdRequest>
HTTP_CONNECT_SOCKET
Constructor and Description |
---|
SocksConnectHandler(LifeCycle server,
MockServerLogger mockServerLogger,
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 SocksConnectHandler(LifeCycle server, MockServerLogger mockServerLogger, String host, int port)
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx)
removeCodecSupport
in class RelayConnectHandler<io.netty.handler.codec.socks.SocksCmdRequest>
protected Object successResponse(Object request)
successResponse
in class RelayConnectHandler<io.netty.handler.codec.socks.SocksCmdRequest>
protected Object failureResponse(Object request)
failureResponse
in class RelayConnectHandler<io.netty.handler.codec.socks.SocksCmdRequest>
Copyright © 2018. All rights reserved.