Class CachedResponseBase
- java.lang.Object
-
- org.apache.abdera.protocol.util.AbstractMessage
-
- org.apache.abdera.protocol.util.AbstractResponse
-
- org.apache.abdera.protocol.client.AbstractClientResponse
-
- org.apache.abdera.protocol.client.cache.CachedResponseBase
-
- All Implemented Interfaces:
CachedResponse,ClientResponse,Message,Response,ProtocolConstants
- Direct Known Subclasses:
InMemoryCachedResponse
@Deprecated public abstract class CachedResponseBase extends AbstractClientResponse implements CachedResponse
Deprecated.
-
-
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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CachegetCache()Deprecated.longgetCachedTime()Deprecated.longgetCurrentAge()Deprecated.longgetFreshnessLifetime()Deprecated.longgetHowStale()Deprecated.longgetInitialAge()Deprecated.ObjectgetKey()Deprecated.longgetResidentAge()Deprecated.booleanisFresh()Deprecated.voidrelease()Deprecated.Release the resources associated with this response-
Methods inherited from class org.apache.abdera.protocol.client.AbstractClientResponse
getCharacterEncoding, getDateHeader, getDocument, getDocument, getDocument, getDocument, getInputStream, getReader, getReader, getServerDate, setInputStream
-
Methods inherited from class org.apache.abdera.protocol.util.AbstractResponse
getAge, getAllow, getContentLength, getEntityTag, getExpires, getLastModified, getLocation, getNoCacheHeaders, getPrivateHeaders, getSMaxAge, getType, isMustRevalidate, isPrivate, isProxyRevalidate, isPublic, setMaxAge, setMustRevalidate, setNoCache, setNoCacheHeaders, setNoStore, setNoTransform, setPrivate, setPrivateHeaders, setProxyRevalidate, setPublic
-
Methods inherited from class org.apache.abdera.protocol.util.AbstractMessage
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDecodedHeader, getDecodedHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.protocol.client.ClientResponse
getCharacterEncoding, getDocument, getDocument, getDocument, getDocument, getInputStream, getMethod, getReader, getReader, getServerDate, getUri, setInputStream
-
Methods inherited from interface org.apache.abdera.protocol.Message
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
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
-
-
-
-
Method Detail
-
getKey
public Object getKey()
Deprecated.- Specified by:
getKeyin interfaceCachedResponse
-
getCache
public Cache getCache()
Deprecated.- Specified by:
getCachein interfaceCachedResponse
-
release
public void release()
Deprecated.Description copied from interface:ClientResponseRelease the resources associated with this response- Specified by:
releasein interfaceClientResponse
-
getInitialAge
public long getInitialAge()
Deprecated.- Specified by:
getInitialAgein interfaceCachedResponse
-
getCachedTime
public long getCachedTime()
Deprecated.- Specified by:
getCachedTimein interfaceCachedResponse
-
getResidentAge
public long getResidentAge()
Deprecated.- Specified by:
getResidentAgein interfaceCachedResponse
-
getCurrentAge
public long getCurrentAge()
Deprecated.- Specified by:
getCurrentAgein interfaceCachedResponse
-
getFreshnessLifetime
public long getFreshnessLifetime()
Deprecated.- Specified by:
getFreshnessLifetimein interfaceCachedResponse
-
getHowStale
public long getHowStale()
Deprecated.- Specified by:
getHowStalein interfaceCachedResponse
-
isFresh
public boolean isFresh()
Deprecated.- Specified by:
isFreshin interfaceCachedResponse
-
-