public abstract class CacheResponse extends Object
{@code CacheResponse} is used for getting resource data from the installed
{@code ResponseCache}. A {@code CacheResponse} object provides an {@code
InputStream} to access the response body and also a method {@code
getHeaders()} to fetch the response headers.
Returns an immutable {@code Map} which contains the response headers
information.
return
an immutable {@code Map} which contains the response headers. The
generic map contains response header fields as the key and a list
of strings as values.
throws
IOException
if an I/O error is encountered while retrieving the response
headers.