io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandlerprotected static class Netty4HttpServerTransport.HttpChannelHandler
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier | Constructor | Description |
|---|---|---|
protected |
HttpChannelHandler(Netty4HttpServerTransport transport,
boolean detailedErrorsEnabled,
org.elasticsearch.common.util.concurrent.ThreadContext threadContext) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
|
protected void |
initChannel(io.netty.channel.Channel ch) |
ensureNotSharable, handlerRemoved, isSharableprotected 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