| Package | Description |
|---|---|
| com.adobe.acs.commons.httpcache.engine | |
| com.adobe.acs.commons.httpcache.store |
| 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..
|
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.
|
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 |
|---|---|
InputStream |
TempSink.createInputStream()
Creates an input stream to read from the sink.
|
OutputStream |
TempSink.createOutputStream()
Create an output stream to write to the sink.
|
void |
HttpCacheStore.put(CacheKey key,
CacheContent content)
Put an item into the cache.
|
Copyright © 2013–2020 Adobe. All rights reserved.