@ChannelHandler.Sharable public class HttpServerHandler extends io.netty.channel.SimpleChannelInboundHandler<HttpRequest>
| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
PERFORMANCE |
static io.netty.util.concurrent.FastThreadLocal<WebContext> |
WEB_CONTEXT_THREAD_LOCAL |
| 构造器和说明 |
|---|
HttpServerHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest httpRequest) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final io.netty.util.concurrent.FastThreadLocal<WebContext> WEB_CONTEXT_THREAD_LOCAL
public static final boolean PERFORMANCE
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete 在接口中 io.netty.channel.ChannelInboundHandlerchannelReadComplete 在类中 io.netty.channel.ChannelInboundHandlerAdapterprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest httpRequest)
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<HttpRequest>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2018. All rights reserved.