|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.w3c.www.protocol.http.cache.CacheValidator | +--org.w3c.www.protocol.http.cache.SimpleCacheValidator | +--org.w3c.www.protocol.http.cache.push.SimplePushCacheValidator
SimpleCacheValidator with modified behaviour to avoid cleaning resources that have been pushed into the cache
Constructor Summary | |
SimplePushCacheValidator()
|
Method Summary | |
boolean |
checkStaleness(CachedResource cr)
Check if the request is stale or not |
void |
revalidateResource(CachedResource cr,
Request request,
Reply reply)
reset all the ages after a revalidation |
Methods inherited from class org.w3c.www.protocol.http.cache.SimpleCacheValidator |
isValid,
updateExpirationInfo |
Methods inherited from class org.w3c.www.protocol.http.cache.CacheValidator |
initialize |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SimplePushCacheValidator()
Method Detail |
public boolean checkStaleness(CachedResource cr)
public void revalidateResource(CachedResource cr, Request request, Reply reply)
cr,
- the CachedResource we are upgrading.request,
- the Requestreply,
- the Reply
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |