public void returnOutputContext ( OutputContext ctx ) { List < ByteBuffer > remaining = ctx . releaseRemaining ( ) ; if ( pending == null ) { pending = remaining ; } else { List < ByteBuffer > tmp = pending ; pending = remaining ; pending . addAll ( tmp ) ; } }
Re - transfer ownership of a given output buffer to the connection