ro.isdc.wro.cache.factory
Class DefaultCacheKeyFactory
java.lang.Object
ro.isdc.wro.cache.factory.DefaultCacheKeyFactory
- All Implemented Interfaces:
- CacheKeyFactory
public class DefaultCacheKeyFactory
- extends Object
- implements CacheKeyFactory
Default implementation of CacheKeyFactory which builds the CacheKey by setting all required types
after inspecting the request. The GroupExtractor is used to retrieve required fields.
- Since:
- 1.6.0
- Author:
- Alex Objelean
|
Method Summary |
CacheKey |
create(javax.servlet.http.HttpServletRequest request)
Creates a CacheKey from the provided request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCacheKeyFactory
public DefaultCacheKeyFactory()
create
public CacheKey create(javax.servlet.http.HttpServletRequest request)
- Creates a
CacheKey from the provided request.
- Specified by:
create in interface CacheKeyFactory
- Parameters:
request - HttpServletRequest object used to build CacheKey from.
- Returns:
- not null
CacheKey object or null if the CacheKey could not be built.
Copyright © 2008-2013. All Rights Reserved.