Java EE 5 SDK

com.sun.appserv.web.cache
Interface CacheKeyGenerator


public interface CacheKeyGenerator

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


Method Summary
 String getCacheKey(ServletContext context, HttpServletRequest request)
          getCacheKey: generate the key to be used to cache the response.
 

Method Detail

getCacheKey

String getCacheKey(ServletContext context,
                   HttpServletRequest request)
getCacheKey: generate the key to be used to cache the response.

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.