public byte[] bytes() throws HttpRequestException {
  final ByteArrayOutputStream output=byteStream();
  try {
    copy(buffer(),output);
  }
 catch (  IOException e) {
    throw new HttpRequestException(e);
  }
  return output.toByteArray();
}

public byte [ ] bytes ( ) throws HttpRequestException { final ByteArrayOutputStream output = byteStream ( ) ; try { copy ( buffer ( ) , output ) ; } catch ( IOException e ) { throw new HttpRequestException ( e ) ; } return output . toByteArray ( ) ; }
get response as byte array
