DatagramPacketDecoder extends MessageToMessageDecoder<DatagramPacket> { @Override public boolean isSharable() { return decoder.isSharable(); } DatagramPacketDecoder(MessageToMessageDecoder<ByteBuf> decoder); @Override boolean acceptInboundMessage(Object msg); @Override void channelRegistered(ChannelHandlerContext ctx); @Override void channelUnregistered(ChannelHandlerContext ctx); @Override void channelActive(ChannelHandlerContext ctx); @Override void channelInactive(ChannelHandlerContext ctx); @Override void channelReadComplete(ChannelHandlerContext ctx); @Override void userEventTriggered(ChannelHandlerContext ctx, Object evt); @Override void channelWritabilityChanged(ChannelHandlerContext ctx); @Override void exceptionCaught(ChannelHandlerContext ctx, Throwable cause); @Override void handlerAdded(ChannelHandlerContext ctx); @Override void handlerRemoved(ChannelHandlerContext ctx); @Override boolean isSharable();  }
@Test public void testIsSharable() { testIsSharable(true); }