Interface HttpCacheConfigExtension
-
public interface HttpCacheConfigExtensionHook to supply custom extension to theHttpCacheConfig.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccepts(org.apache.sling.api.SlingHttpServletRequest request, HttpCacheConfig cacheConfig)Examine if this extension accepts the request.
-
-
-
Method Detail
-
accepts
boolean accepts(org.apache.sling.api.SlingHttpServletRequest request, HttpCacheConfig cacheConfig) throws HttpCacheRepositoryAccessExceptionExamine if this extension accepts the request.Implementation of
HttpCacheConfig.accept (SlingHttpServletRequest)method invokes this to check if the given cache config custom attributes matches with the given request.- Parameters:
request-cacheConfig-- Returns:
- True if this cache config extension accepts the cache config custom attributes.
- Throws:
HttpCacheRepositoryAccessException
-
-