public interface CachingWebClient
CachingWebClient
.
This client wraps a WebClient
and makes it cache aware by adding features to it:
The client honors the following cache headers:
Modifier and Type | Method and Description |
---|---|
static WebClient |
create(WebClient webClient)
Create a cache aware web client using the provided
WebClient . |
static WebClient |
create(WebClient webClient,
CacheStore cacheStore)
Create a cache aware web client using the provided
WebClient . |
static WebClient |
create(WebClient webClient,
CacheStore cacheStore,
CachingWebClientOptions options)
Create a cache aware web client using the provided
WebClient . |
static WebClient |
create(WebClient webClient,
CachingWebClientOptions options)
Create a cache aware web client using the provided
WebClient . |
static WebClient create(WebClient webClient)
WebClient
.webClient
- the web client instancestatic WebClient create(WebClient webClient, CacheStore cacheStore)
WebClient
.webClient
- the web client instancecacheStore
- the cache adapterstatic WebClient create(WebClient webClient, CachingWebClientOptions options)
WebClient
.webClient
- the web client instanceoptions
- the caching web client optionsstatic WebClient create(WebClient webClient, CacheStore cacheStore, CachingWebClientOptions options)
WebClient
.webClient
- the web client instancecacheStore
- the cache adapteroptions
- the caching web client optionsCopyright © 2024 Eclipse. All rights reserved.