public class SourceMapsCacheKeyGenerator extends AbstractCacheKeyGenerator
Constructor and Description |
---|
SourceMapsCacheKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateKey(javax.servlet.http.HttpServletRequest request)
Returns a string that will be used to identify cached responses for the
specified request.
|
String |
toString()
Cache key generators should implement this function to return a short
keyword identifier for the generator (typically the same keyword used
in generated keys) plus a string representation of the instance data
that is used in constructing the keys (if any).
|
combine, getCacheKeyGenerators, isProvisional
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
public String generateKey(javax.servlet.http.HttpServletRequest request)
ICacheKeyGenerator
For clarity's sake, keys should avoid using semi-colons since these are used as a separator when aggregating the keys from multiple cache key generators.
Note that IOptions
properties do not need to be factored into the
returned key since any changes in these properties invalidates cached
responses and clears the module and layer caches.
generateKey
in interface ICacheKeyGenerator
generateKey
in class AbstractCacheKeyGenerator
request
- The request objectpublic String toString()
ICacheKeyGenerator
toString
in interface ICacheKeyGenerator
toString
in class AbstractCacheKeyGenerator
Copyright © 2011-2015 IBM. All Rights Reserved.