Class SocksConnectHandler<T>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<T>
software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler<T>
software.xdev.mockserver.netty.proxy.socks.SocksConnectHandler<T>
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
Socks4ConnectHandler,Socks5ConnectHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler
host, port, PROXIED, PROXIED_RESPONSE, PROXIED_SECURE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSocksConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidremoveCodecSupport(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler
channelRead0, exceptionCaught, failureResponse, removeHandler, removeHandler, successResponseMethods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelReadMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
SocksConnectHandler
protected SocksConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port)
-
-
Method Details
-
removeCodecSupport
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
removeCodecSupportin classRelayConnectHandler<T>
-