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 class
CacheManager.HashKey
Methods in kong.unirest.core that return Cache.Key Modifier and Type Method Description Cache.Key
Cache.KeyGenerator. apply(HttpRequest request, java.lang.Boolean isAsync, java.lang.Class<?> responseType)
A function to generate a cache keyprivate <T> Cache.Key
CacheManager. 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> HttpResponse
Cache. 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.CompletableFuture
Cache. 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.CompletableFuture
CacheManager.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 boolean
CacheManager.CacheMap. removeEldestEntry(java.util.Map.Entry<Cache.Key,java.lang.Object> eldest)
-