src/main/java/io/netty/handler/codec/http/BadClientSilencer.java
@Override
    public void channelRead0(ChannelHandlerContext ctx, Object msg) {
        // This handler is the last inbound handler.
        // This means msg has not been handled by any previous handler.
        ctx.close();

        if (msg != LastHttpContent.EMPTY_LAST_CONTENT) {
            onUnknownMessage(msg);
        }
    }
@Override
    public void channelRead0(ChannelHandlerContext ctx, Object msg) {
        // This handler is the last inbound handler.
        // This means msg has not been handled by any previous handler.
        ctx.close();

        if (msg != LastHttpContent.EMPTY_LAST_CONTENT) {
            onUnknownMessage(msg);
        }
    }
@ Override public void channelRead0 ( ChannelHandlerContext ctx , Object msg ) { // This handler is the last inbound handler. // This means msg has not been handled by any previous handler. ctx . close ( ) ; if ( msg != LastHttpContent . EMPTY_LAST_CONTENT ) { onUnknownMessage ( msg ) ; } }
----------------------------------------------------------------------------
----------------------------------------------------------------------------