@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, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public 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.ChannelOutboundHandler
write
in class io.netty.channel.ChannelOutboundHandlerAdapter
Exception
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.