public abstract OutputStream getBody () throws IOException

Returns an OutputStream to which the response body can be written.

Returns:  an OutputStream to which the response body can be written

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