@Override public void channelDisconnected( ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception { cleanup(ctx, e); }
@Override public void channelClosed( ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception { cleanup(ctx, e); }
@Override protected void cleanup(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception { try { super.cleanup(ctx, e); } finally { spdyHeaderBlockDecoder.end(); synchronized (spdyHeaderBlockEncoder) { spdyHeaderBlockEncoder.end(); } } }