@ Override protected void sideEffectRequestToCancel ( final BinaryRequest request ) { super . sideEffectRequestToCancel ( request ) ; if ( request instanceof BinaryStoreRequest ) { ( ( BinaryStoreRequest ) request ) . content ( ) . release ( ) ; } else if ( request instanceof AppendRequest ) { ( ( AppendRequest ) request ) . content ( ) . release ( ) ; } else if ( request instanceof PrependRequest ) { ( ( PrependRequest ) request ) . content ( ) . release ( ) ; } }
Releasing the content of requests that are to be cancelled .