Uses of Interface
kong.unirest.core.Cache.Key
Packages that use Cache.Key
-
Uses of Cache.Key in kong.unirest.core
Classes in kong.unirest.core that implement Cache.KeySubclasses with type arguments of type Cache.Key in kong.unirest.coreMethods in kong.unirest.core that return Cache.KeyModifier and TypeMethodDescriptionCache.KeyGenerator.apply(HttpRequest request, Boolean isAsync, Class<?> responseType) A function to generate a cache keyprivate <T> Cache.KeyCacheManager.getHash(HttpRequest request, Boolean isAsync, Class<?> responseType) Methods in kong.unirest.core with parameters of type Cache.KeyModifier and TypeMethodDescription<T> HttpResponseCache.get(Cache.Key key, Supplier<HttpResponse<T>> fetcher) Returns the cached HttpResponse for a key or uses the Supplier to fetch the response<T> HttpResponse<T> CacheManager.CacheMap.get(Cache.Key key, Supplier<HttpResponse<T>> fetcher) Cache.getAsync(Cache.Key key, Supplier<CompletableFuture<HttpResponse<T>>> fetcher) Returns the cached HttpResponse for a key or uses the Supplier to fetch the responseCacheManager.CacheMap.getAsync(Cache.Key key, Supplier<CompletableFuture<HttpResponse<T>>> fetcher) Method parameters in kong.unirest.core with type arguments of type Cache.KeyModifier and TypeMethodDescriptionprotected booleanCacheManager.CacheMap.removeEldestEntry(Map.Entry<Cache.Key, Object> eldest)