| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract InputStream | Returns: an InputStream from which the response body can be accessedReturns the response body as an InputStream. |
| public abstract Map | Returns: An immutable Map from response header field names to lists of field values. The status line has null as its field name.Returns the response headers as a Map. |
| CacheResponse | back to summary |
|---|---|
| public CacheResponse() Constructor for subclasses to call. | |
| getBody | back to summary |
|---|---|
| public abstract InputStream getBody() throws IOException Returns the response body as an InputStream.
| |
| getHeaders | back to summary |
|---|---|
| public abstract Map Returns the response headers as a Map.
| |