|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.protocol.http.cache.push.PushCacheManager
public class PushCacheManager
Singleton class to manage push cache.
PushCacheHandler
Field Summary | |
---|---|
static java.lang.String |
HEADER_FIELD
Additional header field and value to identify push resources |
static java.lang.String |
HEADER_VALUE
|
Constructor Summary | |
---|---|
protected |
PushCacheManager()
Singleton; no public constructor |
Method Summary | |
---|---|
void |
cleanCache()
Remove all entries from the cache |
protected void |
deleteRes(CachedResource res)
Remove resource from cache |
protected org.w3c.www.protocol.http.cache.push.PushCacheStore |
getStore()
Access to filter store |
static PushCacheManager |
instance()
Access to manager |
boolean |
isPresent(java.lang.String url)
True iff url is present in cache |
boolean |
isPushResource(CachedResource res)
|
protected void |
registerFilter(PushCacheFilter cf)
Called by PushCacheFilter on initialization |
void |
removeURL(java.lang.String url)
Remove a reply from the cache |
void |
storeReply(PushReply reply)
Store a push reply in the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HEADER_FIELD
public static final java.lang.String HEADER_VALUE
Constructor Detail |
---|
protected PushCacheManager()
instance()
Method Detail |
---|
public static PushCacheManager instance()
public boolean isPushResource(CachedResource res)
public void storeReply(PushReply reply)
public void removeURL(java.lang.String url)
public boolean isPresent(java.lang.String url)
protected void deleteRes(CachedResource res)
public void cleanCache()
protected void registerFilter(PushCacheFilter cf)
protected org.w3c.www.protocol.http.cache.push.PushCacheStore getStore()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |