public abstract class CacheResponse extends Object
| Constructor and Description |
|---|
CacheResponse()
|
| Modifier and Type | Method and Description |
|---|---|
abstract InputStream |
getBody()
Returns the response body as an InputStream.
|
abstract Map |
getHeaders()
Returns the response headers as a Map.
|
public abstract Map<String ,List <String >> getHeaders() throws IOException
IOException - if an I/O error occurs while getting the response headers
public abstract InputStreamgetBody() throws IOException
IOException - if an I/O error occurs while getting the response body