Uses of Class
kong.unirest.core.Cache.Builder
Packages that use Cache.Builder
-
Uses of Cache.Builder in kong.unirest.core
Methods in kong.unirest.core that return Cache.BuilderModifier and TypeMethodDescriptionCache.Builder.backingCache
(Cache cache) Sets a custom backing cache.static Cache.Builder
Cache.builder()
a builder for cache optionsCache.Builder.depth
(int value) defines the max depth of the cache in number of values.Sets a Time-To-Live for response objects.Cache.Builder.withKeyGen
(Cache.KeyGenerator keyGenerator) Provide a custom key generator.Methods in kong.unirest.core with parameters of type Cache.BuilderModifier and TypeMethodDescriptionConfig.cacheResponses
(Cache.Builder value) Enable Response Caching with custom options