protected static class Netty4HttpServerTransport.HttpChannelHandler
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier | Constructor and Description |
|---|---|
protected |
HttpChannelHandler(Netty4HttpServerTransport transport,
boolean detailedErrorsEnabled,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
protected void |
initChannel(io.netty.channel.Channel ch) |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredprotected HttpChannelHandler(Netty4HttpServerTransport transport, boolean detailedErrorsEnabled, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
protected void initChannel(io.netty.channel.Channel ch)
throws java.lang.Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>java.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
throws java.lang.Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>java.lang.Exception