public class CacheUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
createTemporaryCacheFile(CacheKey cacheKey)
Create a temporary file for taking copy of servlet response stream.
|
static Map<String,List<String>> |
extractHeaders(Collection<Pattern> excludedHeaderRegexList,
Collection<String> excludedCookieKeyList,
org.apache.sling.api.SlingHttpServletResponse response,
HttpCacheConfig cacheConfig) |
static List<String> |
filterCookieHeaders(org.apache.sling.api.SlingHttpServletResponse response,
List<String> excludedCookieKeys,
String headerName) |
public static File createTemporaryCacheFile(CacheKey cacheKey) throws IOException
cacheKey - IOExceptionpublic static Map<String,List<String>> extractHeaders(Collection<Pattern> excludedHeaderRegexList, Collection<String> excludedCookieKeyList, org.apache.sling.api.SlingHttpServletResponse response, HttpCacheConfig cacheConfig)
Copyright © 2013–2020 Adobe. All rights reserved.