public class Http11RequestHandler extends Http20RequestHandler
configuration, logger, restServer| Constructor and Description |
|---|
Http11RequestHandler(RestServer restServer)
Creates new
Http11RequestHandler. |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request) |
protected void |
sendResponse(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response) |
exceptionCaughtacceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic Http11RequestHandler(RestServer restServer)
Http11RequestHandler.restServer - Rest Server.public void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request)
throws java.lang.Exception
channelRead0 in class Http20RequestHandlerjava.lang.Exceptionprotected void sendResponse(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response)
sendResponse in class Http20RequestHandler