| Modifier and Type | Method and Description |
|---|---|
CacheContent |
CacheContent.build(HttpCacheServletResponseWrapper responseWrapper)
Deprecated.
Use build(HttpCacheServletResponseWrapper responseWrapper,int status, String charEncoding, String contentType, Map<String, List<String> headers) throws HttpCacheDataStreamException
|
CacheContent |
CacheContent.build(HttpCacheServletResponseWrapper responseWrapper,
int status,
String charEncoding,
String contentType,
Map<String,List<String>> headers)
Construct from the custom servlet response wrapper..
|
| 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 |
|---|---|
CacheContent |
HttpCacheStore.getIfPresent(CacheKey key)
Get the Cache item given a key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpCacheStore.put(CacheKey key,
CacheContent content)
Put an item into the cache.
|
| Modifier and Type | Method and Description |
|---|---|
CacheContent |
EntryNodeToCacheContentHandler.get() |
| Modifier and Type | Method and Description |
|---|---|
protected CacheContent |
EntryNodeMapVisitor.getCacheContent(javax.jcr.Node node) |
CacheContent |
EntryNodeByStringKeyVisitor.getCacheContentIfPresent() |
| Modifier and Type | Method and Description |
|---|---|
Map<CacheKey,CacheContent> |
EntryNodeMapVisitor.getCache() |
| Constructor and Description |
|---|
EntryNodeWriter(javax.jcr.Session session,
javax.jcr.Node entryNode,
CacheKey cacheKey,
CacheContent cacheContent,
long expireTimeInMilliSeconds,
Clock clock) |
Copyright © 2013–2020 Adobe. All rights reserved.