Package org.littleshoot.proxy.impl
Class ProxyConnection.ResponseReadMonitor
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.littleshoot.proxy.impl.ProxyConnection.ResponseReadMonitor
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
- Enclosing class:
- ProxyConnection<I extends HttpObject>
@Sharable
protected abstract class ProxyConnection.ResponseReadMonitor
extends ChannelInboundHandlerAdapter
Utility handler for monitoring responses read on this connection.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelRead(ChannelHandlerContext ctx, Object msg) protected abstract voidresponseRead(HttpResponse httpResponse) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, 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
-
ResponseReadMonitor
protected ResponseReadMonitor()
-
-
Method Details
-
channelRead
- Specified by:
channelReadin interfaceChannelInboundHandler- Overrides:
channelReadin classChannelInboundHandlerAdapter- Throws:
Exception
-
responseRead
-