Package | Description |
---|---|
org.wso2.carbon.mediator.cache | |
org.wso2.carbon.mediator.cache.util |
Modifier and Type | Method and Description |
---|---|
com.google.common.cache.LoadingCache<String,CachableResponse> |
CacheMediator.getMediatorCache()
Creates default cache to keep mediator cache.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpCachingFilter.isValidCacheEntry(CachableResponse cachedResponse,
org.apache.synapse.MessageContext synCtx)
If the cached response is expired, response needs to be fetched again.
|
static void |
HttpCachingFilter.setAgeHeader(CachableResponse cachedResponse,
org.apache.axis2.context.MessageContext msgCtx)
This method sets the Age header.
|
static void |
HttpCachingFilter.setResponseCachedTime(Map<String,String> headers,
CachableResponse response)
Set the response fetched time in milliseconds.
|
Copyright © 2018 WSO2. All rights reserved.