Uses of Class
kong.unirest.core.Cache.Builder
-
Packages that use Cache.Builder Package Description kong.unirest.core -
-
Uses of Cache.Builder in kong.unirest.core
Methods in kong.unirest.core that return Cache.Builder Modifier and Type Method Description Cache.Builder
Cache.Builder. backingCache(Cache cache)
Sets a custom backing cache.static Cache.Builder
Cache. builder()
a builder for cache optionsCache.Builder
Cache.Builder. depth(int value)
defines the max depth of the cache in number of values.Cache.Builder
Cache.Builder. maxAge(long number, java.util.concurrent.TimeUnit units)
Sets a Time-To-Live for response objects.Cache.Builder
Cache.Builder. withKeyGen(Cache.KeyGenerator keyGenerator)
Provide a custom key generator.Methods in kong.unirest.core with parameters of type Cache.Builder Modifier and Type Method Description Config
Config. cacheResponses(Cache.Builder value)
Enable Response Caching with custom options
-