public static void enableAutoRead ( Channel channel ) { if ( ! channel . config ( ) . isAutoRead ( ) ) { channel . config ( ) . setAutoRead ( true ) ; channel . read ( ) ; } }
Enables auto read for a netty channel .