public final class Http1RequestHandler extends Http2RequestHandler
ChannelHandler.Sharable| Constructor and Description |
|---|
Http1RequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(ChannelHandlerContext ctx,
FullHttpRequest request)
Please keep in mind that this method will be renamed to
messageReceived(ChannelHandlerContext, I) in 5.0. |
protected void |
sendResponse(ChannelHandlerContext ctx,
String streamId,
int latency,
FullHttpResponse response,
FullHttpRequest request) |
exceptionCaughtacceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedprotected void channelRead0(ChannelHandlerContext ctx, FullHttpRequest request) throws Exception
SimpleChannelInboundHandlermessageReceived(ChannelHandlerContext, I) in 5.0.
Is called for each message of type I.channelRead0 in class Http2RequestHandlerctx - the ChannelHandlerContext which this SimpleChannelInboundHandler
belongs torequest - the message to handleException - is thrown if an error occurredprotected void sendResponse(ChannelHandlerContext ctx, String streamId, int latency, FullHttpResponse response, FullHttpRequest request)
sendResponse in class Http2RequestHandlerCopyright © 2008–2017 The Netty Project. All rights reserved.