Uses of Interface
kong.unirest.core.Cache.Key
-
Packages that use Cache.Key Package Description kong.unirest.core -
-
Uses of Cache.Key in kong.unirest.core
Classes in kong.unirest.core that implement Cache.Key Modifier and Type Class Description private static classCacheManager.HashKeyMethods in kong.unirest.core that return Cache.Key Modifier and Type Method Description Cache.KeyCache.KeyGenerator. apply(HttpRequest request, java.lang.Boolean isAsync, java.lang.Class<?> responseType)A function to generate a cache keyprivate <T> Cache.KeyCacheManager. getHash(HttpRequest request, java.lang.Boolean isAsync, java.lang.Class<?> responseType)Methods in kong.unirest.core with parameters of type Cache.Key Modifier and Type Method Description <T> HttpResponseCache. get(Cache.Key key, java.util.function.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, java.util.function.Supplier<HttpResponse<T>> fetcher)<T> java.util.concurrent.CompletableFutureCache. getAsync(Cache.Key key, java.util.function.Supplier<java.util.concurrent.CompletableFuture<HttpResponse<T>>> fetcher)Returns the cached HttpResponse for a key or uses the Supplier to fetch the response<T> java.util.concurrent.CompletableFutureCacheManager.CacheMap. getAsync(Cache.Key key, java.util.function.Supplier<java.util.concurrent.CompletableFuture<HttpResponse<T>>> fetcher)Method parameters in kong.unirest.core with type arguments of type Cache.Key Modifier and Type Method Description protected booleanCacheManager.CacheMap. removeEldestEntry(java.util.Map.Entry<Cache.Key,java.lang.Object> eldest)
-