FileDocCategorySizeDatePackage
CacheKeyGenerator.javaAPI DocGlassfish v2 API2642Fri May 04 22:35:26 BST 2007com.sun.appserv.web.cache

CacheKeyGenerator

public interface CacheKeyGenerator
CacheKeyGenerator: a helper interface to generate the key that is used to cache this request.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetCacheKey(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request)
getCacheKey: generate the key to be used to cache the response.

param
context the web application context
param
request incoming HttpServletRequest
return
key string used to access the cache entry. if the return value is null, a default key is used.