@Test(expected = NullPointerException.class) public void testChannelRegisteredRequiresContext() throws Exception { new StreamValve().channelRegistered(null); }
@Override public void channelRegistered(ChannelHandlerContext ctx) throws Exception { this.savedContext = ctx; logger.debug("{} registered on {}",this,ctx); super.channelRegistered(ctx); }
StreamValve extends ChannelInboundHandlerAdapter { @Override public void channelRegistered(ChannelHandlerContext ctx) throws Exception { this.savedContext = ctx; logger.debug("{} registered on {}",this,ctx); super.channelRegistered(ctx); } }
StreamValve extends ChannelInboundHandlerAdapter { @Override public void channelRegistered(ChannelHandlerContext ctx) throws Exception { this.savedContext = ctx; logger.debug("{} registered on {}",this,ctx); super.channelRegistered(ctx); }  }
StreamValve extends ChannelInboundHandlerAdapter { @Override public void channelRegistered(ChannelHandlerContext ctx) throws Exception { this.savedContext = ctx; logger.debug("{} registered on {}",this,ctx); super.channelRegistered(ctx); }  @Override void channelRegistered(ChannelHandlerContext ctx); @Override void channelRead(ChannelHandlerContext ctx, Object msg); boolean isPaused(); void pause(ChannelPipeline pipeline); void resume(ChannelPipeline pipeline); void validateInLoopAndPipeline(ChannelPipeline otherPipeline); static boolean isPipelinePaused(ChannelPipeline pipeline); static void pipelinePause(ChannelPipeline pipeline); static void pipelineResume(ChannelPipeline pipeline); static StreamValve locateValve(ChannelPipeline pipeline); static FlowControl wrap(final ChannelHandlerContext ctx); }
StreamValve extends ChannelInboundHandlerAdapter { @Override public void channelRegistered(ChannelHandlerContext ctx) throws Exception { this.savedContext = ctx; logger.debug("{} registered on {}",this,ctx); super.channelRegistered(ctx); }  @Override void channelRegistered(ChannelHandlerContext ctx); @Override void channelRead(ChannelHandlerContext ctx, Object msg); boolean isPaused(); void pause(ChannelPipeline pipeline); void resume(ChannelPipeline pipeline); void validateInLoopAndPipeline(ChannelPipeline otherPipeline); static boolean isPipelinePaused(ChannelPipeline pipeline); static void pipelinePause(ChannelPipeline pipeline); static void pipelineResume(ChannelPipeline pipeline); static StreamValve locateValve(ChannelPipeline pipeline); static FlowControl wrap(final ChannelHandlerContext ctx);  }