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.BuilderCache.Builder. backingCache(Cache cache)Sets a custom backing cache.static Cache.BuilderCache. builder()a builder for cache optionsCache.BuilderCache.Builder. depth(int value)defines the max depth of the cache in number of values.Cache.BuilderCache.Builder. maxAge(long number, TimeUnit units)Sets a Time-To-Live for response objects.Cache.BuilderCache.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 ConfigConfig. cacheResponses(Cache.Builder value)Enable Response Caching with custom options
-