@ChannelHandler.Sharable public class HttpRequestHandler extends io.netty.channel.SimpleChannelInboundHandler<HttpRequest>
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<Set<String>> |
LOCAL_HOST_HEADERS |
static io.netty.util.AttributeKey<Boolean> |
PROXYING |
| Constructor and Description |
|---|
HttpRequestHandler(LifeCycle server,
HttpState httpState,
HttpActionHandler httpActionHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final io.netty.util.AttributeKey<Boolean> PROXYING
public HttpRequestHandler(LifeCycle server, HttpState httpState, HttpActionHandler httpActionHandler)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<HttpRequest>public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2020. All rights reserved.