Class DefaultRestInterfaceCacheKeyProvider
- java.lang.Object
-
- lumis.doui.service.api.rest.internal.DefaultRestInterfaceCacheKeyProvider
-
- All Implemented Interfaces:
IDouiRestInterfaceRequestCacheKeyProvider
public class DefaultRestInterfaceCacheKeyProvider extends Object implements IDouiRestInterfaceRequestCacheKeyProvider
IDouiRestInterfaceRequestCacheKeyProvider
default implementation.- Since:
- 10.4.0
- Version:
- $Revision: 21331 $ $Date: 2018-05-28 15:44:39 -0300 (Mon, 28 May 2018) $
-
-
Constructor Summary
Constructors Constructor Description DefaultRestInterfaceCacheKeyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCacheKey(IDouiRestInterfaceRequest request, RestInterfaceCacheConfig cacheConfig)
Returns the cache key for the given request using the given cache configuration.
-
-
-
Method Detail
-
getCacheKey
public String getCacheKey(IDouiRestInterfaceRequest request, RestInterfaceCacheConfig cacheConfig) throws PortalException
Description copied from interface:IDouiRestInterfaceRequestCacheKeyProvider
Returns the cache key for the given request using the given cache configuration.- Specified by:
getCacheKey
in interfaceIDouiRestInterfaceRequestCacheKeyProvider
- Parameters:
request
- the request.cacheConfig
- the cache configuration.- Returns:
- the cache key for the given request using the given cache configuration.
- Throws:
PortalException
-
-