public interface HttpResponse
extends Closeable
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent()
Gets the content of the response.
|
Long |
getContentLength()
Returns the size of content in bytes.
|
String |
getContentType()
Returns the MIME type of the response.
|
Long getContentLength()
String getContentType()
InputStream getContent()
throws IOException
IOException - if an I/O error occurs