Package org.frankframework.http.rest
Class ApiCacheManager
java.lang.Object
org.frankframework.http.rest.ApiCacheManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildCacheKey
(String uriPattern) Creates an IBIS independent cachePrefix so multiple IBIS can connect to the same cachestatic IApiCache
Get the etagCache, defaults to EhCache when no type has been specified.static String
getParentCacheKey
(ApiListener listener, String uri, ApiListener.HttpMethod method)
-
Constructor Details
-
ApiCacheManager
public ApiCacheManager()
-
-
Method Details
-
getInstance
Get the etagCache, defaults to EhCache when no type has been specified.- Returns:
- IRestEtagCache
-
buildCacheKey
Creates an IBIS independent cachePrefix so multiple IBIS can connect to the same cache- Returns:
- cachePrefix 'instanceName_dtapStage_'
-
getParentCacheKey
public static String getParentCacheKey(ApiListener listener, String uri, ApiListener.HttpMethod method)
-