Package org.mockserver.proxy.socks
Class Socks4ProxyHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<T>
-
- org.mockserver.proxy.socks.SocksProxyHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
-
- org.mockserver.proxy.socks.Socks4ProxyHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
@Sharable public class Socks4ProxyHandler extends SocksProxyHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
-
-
Field Summary
-
Fields inherited from class org.mockserver.proxy.socks.SocksProxyHandler
mockServerLogger, server
-
-
Constructor Summary
Constructors Constructor Description Socks4ProxyHandler(LifeCycle server, MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.socksx.v4.Socks4CommandRequest commandRequest)
-
Methods inherited from class org.mockserver.proxy.socks.SocksProxyHandler
channelReadComplete, exceptionCaught, forwardConnection
-
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
Socks4ProxyHandler
public Socks4ProxyHandler(LifeCycle server, MockServerLogger mockServerLogger)
-
-
Method Detail
-
channelRead0
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.socksx.v4.Socks4CommandRequest commandRequest)
- Specified by:
channelRead0
in classio.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.socksx.v4.Socks4CommandRequest>
-
-