@ChannelHandler.Sharable public class EchoServerHandler extends io.netty.channel.SimpleChannelInboundHandler<HttpRequest>
| Constructor and Description |
|---|
EchoServerHandler(EchoServer.Error error,
RequestLogFilter requestLogFilter,
EchoServer.NextResponse nextResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic EchoServerHandler(EchoServer.Error error, RequestLogFilter requestLogFilter, EchoServer.NextResponse nextResponse)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest request)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<HttpRequest>public 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 © 2018. All rights reserved.