diff --git a/transport/src/main/java/io/netty/channel/ChannelOutboundHandler.java b/transport/src/main/java/io/netty/channel/ChannelOutboundHandler.java index 92a3943ad0..0795198195 100644 --- a/transport/src/main/java/io/netty/channel/ChannelOutboundHandler.java +++ b/transport/src/main/java/io/netty/channel/ChannelOutboundHandler.java @@ -69,6 +69,7 @@ public interface ChannelOutboundHandler extends ChannelHandler { * @param promise the {@link ChannelPromise} to notify once the operation completes * @throws Exception thrown if an error accour */ + @Deprecated void deregister(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception; /**