|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.caching.CachedStreamObject
CachedResponse
public final class CachedStreamObject
This is an cached object as it is stored in the StreamCache
| Constructor Summary | |
|---|---|
CachedStreamObject(Map validityObjects,
byte[] response)
Deprecated. Create a new entry for the cache. |
|
| Method Summary | |
|---|---|
CacheValidity |
getCacheValidity(ComponentCacheKey componentKey)
Deprecated. Get the validity object |
byte[] |
getResponse()
Deprecated. Get the cached response. |
boolean |
isValid(ComponentCacheKey componentKey,
CacheValidity componentValidity)
Deprecated. Checks if the CacheValidity object is still valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachedStreamObject(Map validityObjects,
byte[] response)
validityObjects - The CacheValidity objects hashed by their
ComponentCacheKeyresponse - The cached response| Method Detail |
|---|
public boolean isValid(ComponentCacheKey componentKey,
CacheValidity componentValidity)
public CacheValidity getCacheValidity(ComponentCacheKey componentKey)
CacheValidity object or null.public byte[] getResponse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||