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) |
exceptionCaught
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public Http11RequestHandler(RestServer restServer)
Http11RequestHandler
.restServer
- Rest Server.public void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.FullHttpRequest request) throws Exception
channelRead0
in class Http20RequestHandler
Exception
protected 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
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.