Package com.adobe.granite.httpcache.api
Interface CacheKeyGenerator
-
@ProviderType public interface CacheKeyGenerator
Contains the logic to map a HTTP request to a key. The default key generator will just use the request URI as key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
generate(HttpServletRequest request)
Generate a key from a request.
-
-
-
Method Detail
-
generate
java.lang.String generate(HttpServletRequest request)
Generate a key from a request.- Parameters:
request
- request- Returns:
- key
-
-