| Package | Description |
|---|---|
| kong.unirest |
| Modifier and Type | Method and Description |
|---|---|
Cache.Builder |
Cache.Builder.backingCache(Cache cache)
Sets a custom backing cache.
|
static Cache.Builder |
Cache.builder()
a builder for cache options
|
Cache.Builder |
Cache.Builder.depth(int value)
defines the max depth of the cache in number of values.
|
Cache.Builder |
Cache.Builder.maxAge(long number,
TimeUnit units)
Sets a Time-To-Live for response objects.
|
Cache.Builder |
Cache.Builder.withKeyGen(Cache.KeyGenerator keyGenerator)
Provide a custom key generator.
|
| Modifier and Type | Method and Description |
|---|---|
Config |
Config.cacheResponses(Cache.Builder value)
Enable Response Caching with custom options
|
Copyright © 2023. All rights reserved.