SecureCacheResponsepublic abstract class CacheResponse extends Object
| 构造器 | 说明 |
|---|---|
CacheResponse() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract InputStream |
getBody() |
Returns the response body as an InputStream.
|
abstract Map<String,List<String>> |
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 headerspublic abstract InputStream getBody() throws IOException
IOException - if an I/O error occurs while
getting the response body