| Package | Description |
|---|---|
| com.adobe.acs.commons.httpcache.engine |
| 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.
|
void |
HttpCacheEngine.invalidateCache(String path)
Invalidate the cache for the HttpCacheConfig which is
interested in the given path.
|
boolean |
HttpCacheEngine.isCacheHit(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Check if the given request can be served from available cache.
|
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.
|
Copyright © 2013–2020 Adobe. All rights reserved.