public class HttpResponseHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpObject>
HttpResponse
. It evaluates the status code and triggers the appropriate
lifecycle methods at the passed ResultCallback
.Constructor and Description |
---|
HttpResponseHandler(HttpRequestProvider requestProvider,
ResultCallback<?> resultCallback) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public HttpResponseHandler(HttpRequestProvider requestProvider, ResultCallback<?> resultCallback)
Copyright © 2016. All Rights Reserved.