org.apache.abdera.protocol.client.cache
Interface CachedResponse

All Superinterfaces:
ClientResponse, ProtocolConstants, Response, ResponseInfo
All Known Implementing Classes:
CachedResponseBase, InMemoryCachedResponse

public interface CachedResponse
extends ClientResponse


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.abdera.protocol.Response
Response.ResponseType
 
Field Summary
 
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
 
Method Summary
 CacheKey geKey()
           
 Cache getCache()
           
 long getCachedTime()
           
 long getCurrentAge()
           
 long getFreshnessLifetime()
           
 long getHowStale()
           
 long getInitialAge()
           
 long getResidentAge()
           
 boolean isFresh()
           
 
Methods inherited from interface org.apache.abdera.protocol.client.ClientResponse
getDocument, getDocument, getDocument, getDocument, getInputStream, getMethod, getServerDate, getUri, release, setInputStream
 
Methods inherited from interface org.apache.abdera.protocol.Response
getAge, getAllow, getCacheControl, getContentLanguage, getContentLength, getContentLocation, getContentType, getDateHeader, getExpires, getHeader, getHeaderNames, getHeaders, getHeaders, getLastModified, getLocation, getMaxAge, getNoCacheHeaders, getPrivateHeaders, getSlug, getSMaxAge, getStatus, getStatusText, getType, getUriHeader, isMustRevalidate, isNoCache, isNoStore, isNoTransform, isPrivate, isProxyRevalidate, isPublic
 
Methods inherited from interface org.apache.abdera.protocol.ResponseInfo
getEntityTag
 

Method Detail

geKey

CacheKey geKey()

getCache

Cache getCache()

getCachedTime

long getCachedTime()

getInitialAge

long getInitialAge()

getResidentAge

long getResidentAge()

getCurrentAge

long getCurrentAge()

getFreshnessLifetime

long getFreshnessLifetime()

getHowStale

long getHowStale()

isFresh

boolean isFresh()