public abstract InputStream getBody () throws IOException

Returns the response body as an InputStream.

Returns:  an InputStream from which the response body can be accessed

Exceptions:
IOException    if an I/O error occurs while getting the response body