@Singleton
@ChannelHandler.Sharable
public class PromiseFailureHandler
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static PromiseFailureHandler |
INSTANCE |
| Constructor and Description |
|---|
PromiseFailureHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final PromiseFailureHandler INSTANCE
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.