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

All Superinterfaces:
ClientResponse, Message, ProtocolConstants, Response
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
 Cache getCache()
           
 long getCachedTime()
           
 long getCurrentAge()
           
 long getFreshnessLifetime()
           
 long getHowStale()
           
 long getInitialAge()
           
 Object getKey()
           
 long getResidentAge()
           
 boolean isFresh()
           
 
Methods inherited from interface org.apache.abdera.protocol.client.ClientResponse
getCharacterEncoding, getDocument, getDocument, getDocument, getDocument, getInputStream, getMethod, getReader, getReader, getServerDate, getUri, release, setInputStream
 
Methods inherited from interface org.apache.abdera.protocol.Response
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getStatus, getStatusText, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic
 
Methods inherited from interface org.apache.abdera.protocol.Message
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
 

Method Detail

getKey

Object getKey()

getCache

Cache getCache()

getCachedTime

long getCachedTime()

getInitialAge

long getInitialAge()

getResidentAge

long getResidentAge()

getCurrentAge

long getCurrentAge()

getFreshnessLifetime

long getFreshnessLifetime()

getHowStale

long getHowStale()

isFresh

boolean isFresh()


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.