Package org.frankframework.http.rest
Class ApiCacheManager
java.lang.Object
org.frankframework.http.rest.ApiCacheManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildCacheKey(String uriPattern) Creates an IBIS independent cachePrefix so multiple IBIS can connect to the same cachestatic IApiCacheGet the etagCache, defaults to EhCache when no type has been specified.static StringgetParentCacheKey(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)
-