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: 276 $
Author:
Lars Torunski

Method Summary
 String createCacheKey(HttpServletRequest httpRequest, ServletCacheAdministrator scAdmin, Cache cache)
          Creates the cache key for the CacheFilter.
 

Method Detail

createCacheKey

String createCacheKey(HttpServletRequest httpRequest,
                      ServletCacheAdministrator scAdmin,
                      Cache cache)
Creates the cache key for the CacheFilter.

Parameters:
httpRequest - the http request.
scAdmin - the ServletCacheAdministrator of the cache
cache - the cache of the ServletCacheAdministrator
Returns:
the cache key

OSCache Project Page