public class SerializableCacheItem extends Object implements Serializable, CacheItem
| Constructor and Description |
|---|
SerializableCacheItem(CacheItem item) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAge(HTTPRequest request) |
org.joda.time.DateTime |
getCachedTime() |
HTTPResponse |
getResponse() |
int |
getTTL() |
boolean |
isStale(HTTPRequest request) |
static CacheItem |
parse(Properties object) |
Properties |
toProperties() |
public SerializableCacheItem(CacheItem item)
public boolean isStale(HTTPRequest request)
public int getAge(HTTPRequest request)
public org.joda.time.DateTime getCachedTime()
getCachedTime in interface CacheItempublic HTTPResponse getResponse()
getResponse in interface CacheItempublic Properties toProperties()
public static CacheItem parse(Properties object)
Copyright © 2008-2013. All Rights Reserved.