@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, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public 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.ChannelInboundHandler
channelReadComplete
在类中 io.netty.channel.ChannelInboundHandlerAdapter
protected 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.ChannelHandler
exceptionCaught
在接口中 io.netty.channel.ChannelInboundHandler
exceptionCaught
在类中 io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2018. All rights reserved.