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, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic HttpResponseHandler(HttpRequestProvider requestProvider, ResultCallback<?> resultCallback)
Copyright © 2017. All Rights Reserved.