public class NettyHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<String> |
PATH |
| Constructor and Description |
|---|
NettyHandler(HttpHandler handler,
com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChangedhandlerAdded, handlerRemoved, isSharablepublic static final io.netty.util.AttributeKey<String> PATH
public NettyHandler(HttpHandler handler, com.typesafe.config.Config config)
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<Object>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.ChannelInboundHandlerAdapterpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
throws Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2015. All rights reserved.