public class DefaultHttpCache extends AbstractHttpCache
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_NAME |
| Constructor and Description |
|---|
DefaultHttpCache(CacheProvider cacheProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResponseImpl(String key,
HttpResponse response) |
protected HttpResponse |
getResponseImpl(String key) |
protected HttpResponse |
removeResponseImpl(String key) |
addResponse, createKey, getAppUrl, getInstanceId, getOwnerId, getResponse, getServiceName, getTokenName, getTokenOwner, getViewerId, isCacheable, isCacheable, removeResponse, responseStillUsablepublic static final String CACHE_NAME
@Inject public DefaultHttpCache(CacheProvider cacheProvider)
protected HttpResponse getResponseImpl(String key)
getResponseImpl in class AbstractHttpCacheprotected void addResponseImpl(String key, HttpResponse response)
addResponseImpl in class AbstractHttpCacheprotected HttpResponse removeResponseImpl(String key)
removeResponseImpl in class AbstractHttpCacheCopyright © 2007-2012. All Rights Reserved.