public void chunk(ByteBuffer chunk) throws Exception {
  try {
    httpStreamHandler.chunk(chunk);
  }
 catch (  Throwable e) {
    log.error("Exception while invoking streaming handlers",e);
    httpStreamHandler.error(e);
    throw e;
  }
}

public void chunk ( ByteBuffer chunk ) throws Exception { try { httpStreamHandler . chunk ( chunk ) ; } catch ( Throwable e ) { log . error ( "Exception while invoking streaming handlers" , e ) ; httpStreamHandler . error ( e ) ; throw e ; } }
if chunk handling is supported provide chunks directly .
