public class ClientHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
| Modifier and Type | Field and Description |
|---|---|
protected RetryPolicy |
policy |
| Constructor and Description |
|---|
ClientHandler(Response response,
FutureResponse future,
RetryPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected RetryPolicy policy
public ClientHandler(Response response, FutureResponse future, RetryPolicy policy)
public void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2012-2015. All Rights Reserved.