public final class DefaultErrorLogHandler extends ChannelDuplexHandler
ChannelHandler.Sharable| Constructor and Description |
|---|
DefaultErrorLogHandler(Function<ErrorLogArgProvider,ErrorLog> errorLog) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(ChannelHandlerContext ctx,
Throwable cause) |
boolean |
isSharable() |
void |
userEventTriggered(ChannelHandlerContext ctx,
Object evt) |
bind, close, connect, deregister, disconnect, flush, read, writechannelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, handlerRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedpublic DefaultErrorLogHandler(@Nullable Function<ErrorLogArgProvider,ErrorLog> errorLog)
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
exceptionCaught in interface ChannelHandlerexceptionCaught in interface ChannelInboundHandlerexceptionCaught in class ChannelInboundHandlerAdapterpublic void userEventTriggered(ChannelHandlerContext ctx, Object evt)
userEventTriggered in interface ChannelInboundHandleruserEventTriggered in class ChannelInboundHandlerAdapterpublic boolean isSharable()
isSharable in class ChannelHandlerAdapter