public class XioExceptionLogger
extends io.netty.handler.logging.LoggingHandler
Constructor and Description |
---|
XioExceptionLogger() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, channelActive, channelInactive, channelRegistered, channelUnregistered, close, connect, deregister, disconnect, flush, format, format, format, level, userEventTriggered
channelReadComplete, channelWritabilityChanged
handlerAdded, handlerRemoved, isSharable
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.handler.logging.LoggingHandler
Exception
public void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception
write
in interface io.netty.channel.ChannelOutboundHandler
write
in class io.netty.handler.logging.LoggingHandler
Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.handler.logging.LoggingHandler
Exception
Copyright © 2016. All Rights Reserved.