Class CacheUtils
java.lang.Object
com.adobe.acs.commons.httpcache.util.CacheUtils
Utilties tied to caching keys / values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateTemporaryCacheFile(CacheKey cacheKey) Create a temporary file for taking copy of servlet response stream.extractHeaders(Collection<Pattern> excludedHeaderRegexList, Collection<String> excludedCookieKeyList, org.apache.sling.api.SlingHttpServletResponse response, HttpCacheConfig cacheConfig) filterCookieHeaders(org.apache.sling.api.SlingHttpServletResponse response, List<String> excludedCookieKeys, String headerName)
-
Method Details
-
createTemporaryCacheFile
Create a temporary file for taking copy of servlet response stream.- Parameters:
cacheKey-- Returns:
- Throws:
IOException
-
extractHeaders
public static Map<String,List<String>> extractHeaders(Collection<Pattern> excludedHeaderRegexList, Collection<String> excludedCookieKeyList, org.apache.sling.api.SlingHttpServletResponse response, HttpCacheConfig cacheConfig) -
filterCookieHeaders
-