public class HttpRestClientSimpleResponseHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpObject>
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.JsonNode |
jsonObject |
static io.netty.util.AttributeKey<RestFuture> |
RESTARGUMENT |
Constructor and Description |
---|
HttpRestClientSimpleResponseHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionFromResponse(io.netty.channel.Channel channel) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static final io.netty.util.AttributeKey<RestFuture> RESTARGUMENT
protected com.fasterxml.jackson.databind.JsonNode jsonObject
protected void actionFromResponse(io.netty.channel.Channel channel)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpObject msg) throws Exception
channelRead0
in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpObject>
Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
Copyright © 2009–2020 Waarp. All rights reserved.