| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpCacheConfigExtension.accepts(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Examine if this extension accepts the request.
|
| Constructor and Description |
|---|
CombinedCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig,
List<CacheKeyFactory> cacheKeyFactories) |
CombinedCacheKey(String uri,
HttpCacheConfig cacheConfig,
List<CacheKeyFactory> cacheKeyFactories) |
GroupCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig,
List<String> userGroups) |
GroupCacheKey(String uri,
HttpCacheConfig cacheConfig,
List<String> userGroups) |
KeyValueCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig,
String cacheKeyId,
Map<String,String[]> allowedKeyValues,
Map<String,String> actualKeyValues) |
KeyValueCacheKey(String uri,
HttpCacheConfig cacheConfig,
String cacheKeyId,
Map<String,String[]> allowedKeyValues) |
RequestPathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
RequestPathCacheKey(String uri,
HttpCacheConfig cacheConfig) |
ResourcePathCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
ResourcePathCacheKey(String uri,
HttpCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
HttpCacheConfig |
HttpCacheEngine.getCacheConfig(org.apache.sling.api.SlingHttpServletRequest request)
Get the first, based on cache config order, cache config applicable for the given request.
|
HttpCacheConfig |
HttpCacheEngine.getCacheConfig(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig.FilterScope filterScope)
Get the first, based on cache config order, cache config applicable for the given request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpCacheEngine.cacheResponse(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig)
Cache the given response.
|
boolean |
HttpCacheEngine.deliverCacheContent(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig)
Deliver the response from the cache.
|
boolean |
HttpCacheEngine.isCacheHit(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Check if the given request can be served from available cache.
|
boolean |
HttpCacheEngine.isRequestCacheable(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Check if the given request is cache-able per custom cache handling rules.
|
HttpCacheServletResponseWrapper |
HttpCacheEngine.wrapResponse(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig httpCacheConfig)
Wrap the response so that response stream can be duplicated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<HttpCacheConfig,Map<String,Object>> |
HttpCacheEngineBindingsDelegate.getCacheConfigConfigs() |
List<HttpCacheConfig> |
HttpCacheEngineBindingsDelegate.getCacheConfigs() |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpCacheEngineBindingsDelegate.bindHttpCacheConfig(HttpCacheConfig cacheConfig,
Map<String,Object> configs)
Binds cache config.
|
void |
HttpCacheEngineBindingsDelegate.unbindHttpCacheConfig(HttpCacheConfig cacheConfig)
Unbinds cache config.
|
| Modifier and Type | Method and Description |
|---|---|
TabularData |
HttpCacheEngineMBeanDelegate.getRegisteredHttpCacheConfigs(List<HttpCacheConfig> configs,
Map<HttpCacheConfig,Map<String,Object>> cacheConfigConfigs) |
TabularData |
HttpCacheEngineMBeanDelegate.getRegisteredHttpCacheConfigs(List<HttpCacheConfig> configs,
Map<HttpCacheConfig,Map<String,Object>> cacheConfigConfigs) |
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
CacheKeyFactory.build(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Build a cache key.
|
CacheKey |
CacheKeyFactory.build(String resourcePath,
HttpCacheConfig cacheConfig)
Build a cache key.
|
boolean |
CacheKeyFactory.doesKeyMatchConfig(CacheKey key,
HttpCacheConfig cacheConfig)
Does the Cache Key matches the Http Cache Config.
|
| Constructor and Description |
|---|
AbstractCacheKey(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig) |
AbstractCacheKey(String uri,
HttpCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractHttpCacheHandlingRule.onCacheDeliver(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig,
CacheContent cacheContent) |
boolean |
HttpCacheHandlingRule.onCacheDeliver(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig,
CacheContent cacheContent)
Hook to supply custom behavior on
HttpCacheEngine delivering cache
content after being read from cache store. |
boolean |
AbstractHttpCacheHandlingRule.onResponseCache(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig,
CacheContent cacheContent) |
boolean |
HttpCacheHandlingRule.onResponseCache(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig,
CacheContent cacheContent)
Hook to supply custom behavior on
HttpCacheEngine about to cache a
response. |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpCacheStore.invalidate(HttpCacheConfig cacheConfig)
Invalidate all the cached items applicable for the given cache config.
|
| Constructor and Description |
|---|
InvalidateByCacheConfigVisitor(int maxLevel,
long deltaSaveThreshold,
HttpCacheConfig cacheConfig,
org.apache.sling.commons.classloader.DynamicClassLoaderManager dclm) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<String>> |
CacheUtils.extractHeaders(Collection<Pattern> excludedHeaderRegexList,
Collection<String> excludedCookieKeyList,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig) |
Copyright © 2013–2020 Adobe. All rights reserved.