CacheResponse

public abstract class CacheResponse extends Object
Known Direct Subclasses

Represent channels for retrieving resources from the ResponseCache. Instances of such a class provide an InputStream that returns the entity body, and also a getHeaders() method which returns the associated response headers.

Public Constructor Summary

Public Method Summary

abstract InputStream
getBody()
Returns the response body as an InputStream.
abstract Map<StringList<String>>
getHeaders()
Returns the response headers as a Map.

Inherited Method Summary