| java.lang.Object org.w3c.www.protocol.http.cache.CacheValidator
All known Subclasses: org.w3c.www.protocol.http.cache.SimpleCacheValidator,
CacheValidator | abstract public class CacheValidator (Code) | | |
checkStaleness | abstract public boolean checkStaleness(CachedResource cr)(Code) | | Check if the request is stale or not
a boolean, true if the resource is still validfalse it if needs a revalidation. |
isValid | abstract public boolean isValid(CachedResource cr, Request request)(Code) | | Is the currently cached version usable to answer the given request ?
A boolean, true if we are able to generatea valid answer to this request by the perform method,false otherwise (the resource needs to be refreshed). |
revalidateResource | abstract public void revalidateResource(CachedResource cr, Request request, Reply reply)(Code) | | reset all the ages after a revalidation
cr, the CachedResource we are upgrading. request, the Request reply, the Reply |
updateExpirationInfo | abstract public void updateExpirationInfo(CachedResource cr, Request request, Reply reply)(Code) | | Update the expiration information on a cached resource, even if it was
not used.
cr, the CachedResource we are upgrading. request, the Request reply, the Reply |
|
|