Uses of Interface
org.springframework.data.elasticsearch.client.erhlc.WebClientProvider
Package
Description
This package contains classes that use the old Elasticsearch 7 libraries to access Elasticsearch either directly by
using the RestHighLevelClient or indirectly by using code copied from Elasticsearch libraries (reactive
implementation).
-
Uses of WebClientProvider in org.springframework.data.elasticsearch.client.erhlc
Modifier and TypeMethodDescriptionstatic WebClientProvider
Deprecated.static WebClientProvider
WebClientProvider.create
(String scheme, ClientHttpConnector connector) Deprecated.static WebClientProvider
WebClientProvider.getWebClientProvider
(ClientConfiguration clientConfiguration) Deprecated.Creates aWebClientProvider
for the given configurationstatic WebClientProvider
WebClientProvider.http()
Deprecated.WebClientProvider.withDefaultHeaders
(HttpHeaders headers) Deprecated.Create a new instance ofWebClientProvider
applying the given headers by default.WebClientProvider.withErrorListener
(Consumer<Throwable> errorListener) Deprecated.Create a new instance ofWebClientProvider
calling the givenConsumer
on error.WebClientProvider.withPathPrefix
(String pathPrefix) Deprecated.Create a new instance ofWebClientProvider
where HTTP requests are called with the given path prefix.WebClientProvider.withRequestConfigurer
(Consumer<WebClient.RequestHeadersSpec<?>> requestConfigurer) Deprecated.Create a new instance ofWebClientProvider
calling the givenConsumer
to configure the requests of thisWebClient
.WebClientProvider.withWebClientConfigurer
(Function<WebClient, WebClient> webClientConfigurer) Deprecated.Modifier and TypeMethodDescriptionstatic HostProvider<?>
HostProvider.provider
(WebClientProvider clientProvider, Supplier<HttpHeaders> headersSupplier, InetSocketAddress... endpoints) Deprecated.Create a newHostProvider
best suited for the givenWebClientProvider
and number of hosts.