diff --git a/codec/src/main/java/io/netty/handler/codec/ByteToMessageCodec.java b/codec/src/main/java/io/netty/handler/codec/ByteToMessageCodec.java index 8f3f205708..97f198e2ba 100644 --- a/codec/src/main/java/io/netty/handler/codec/ByteToMessageCodec.java +++ b/codec/src/main/java/io/netty/handler/codec/ByteToMessageCodec.java @@ -80,7 +80,7 @@ public abstract class ByteToMessageCodec encoder.freeOutboundBuffer(ctx); } - protected boolean isEncodable(Object msg) throws Exception { + public boolean isEncodable(Object msg) throws Exception { return encoder.isEncodable(msg); }