public final class CachingHttpRequestInterceptorBuilder extends Object
CachingHttpRequestInterceptor.| Modifier and Type | Class and Description |
|---|---|
class |
CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder |
| Constructor and Description |
|---|
CachingHttpRequestInterceptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
CachingHttpRequestInterceptor |
build()
Build and return configured
CachingHttpRequestInterceptor. |
void |
enhance(org.springframework.web.client.RestTemplate restTemplate)
Build a configured
CachingHttpRequestInterceptor and add it to
the given RestTemplate. |
CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder |
inMemoryCache()
Use and configure the default in-memory cache.
|
public CachingHttpRequestInterceptorBuilder()
public CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder inMemoryCache()
#cache(Cache).public CachingHttpRequestInterceptor build()
CachingHttpRequestInterceptor.public void enhance(org.springframework.web.client.RestTemplate restTemplate)
CachingHttpRequestInterceptor and add it to
the given RestTemplate.Copyright © 2014. All rights reserved.