com.opensymphony.oscache.web.filter
Interface ICacheKeyProvider
- All Known Implementing Classes:
- CacheFilter
- public interface ICacheKeyProvider
Provider interface for cache key creation. A developer can implement a method which provides
cache keys based on the request, the servlet cache administrator and cache.
JIRA issue: http://jira.opensymphony.com/browse/CACHE-179
- Version:
- $Revision: 1.3 $
- Author:
- Lars Torunski
createCacheKey
public String createCacheKey(javax.servlet.http.HttpServletRequest httpRequest,
ServletCacheAdministrator scAdmin,
Cache cache)
- Creates the cache key for the CacheFilter.
- Parameters:
httpRequest
- the http request.scAdmin
- the ServletCacheAdministrator of the cachecache
- the cache of the ServletCacheAdministrator
- Returns:
- the cache key