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 @Nullable 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
-
getParentCacheKey
public static @Nullable String getParentCacheKey(ApiListener listener, String uri, ApiListener.HttpMethod method)
-