|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.www.protocol.http.cache.CacheValidator
org.w3c.www.protocol.http.cache.SimpleCacheValidator
org.w3c.www.protocol.http.cache.push.SimplePushCacheValidator
public class 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)
checkStaleness in class SimpleCacheValidator
public void revalidateResource(CachedResource cr,
Request request,
Reply reply)
revalidateResource in class SimpleCacheValidatorcr, - the CachedResource we are upgrading.request, - the Requestreply, - the Reply
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||