Uses of Interface
org.springframework.data.elasticsearch.client.erhlc.WebClientProvider
Packages that use 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
Methods in org.springframework.data.elasticsearch.client.erhlc that return WebClientProviderModifier and TypeMethodDescriptionstatic WebClientProviderDeprecated.static WebClientProviderWebClientProvider.create(String scheme, ClientHttpConnector connector) Deprecated.static WebClientProviderWebClientProvider.getWebClientProvider(ClientConfiguration clientConfiguration) Deprecated.Creates aWebClientProviderfor the given configurationstatic WebClientProviderWebClientProvider.http()Deprecated.WebClientProvider.withDefaultHeaders(HttpHeaders headers) Deprecated.Create a new instance ofWebClientProviderapplying the given headers by default.WebClientProvider.withErrorListener(Consumer<Throwable> errorListener) Deprecated.Create a new instance ofWebClientProvidercalling the givenConsumeron error.WebClientProvider.withPathPrefix(String pathPrefix) Deprecated.Create a new instance ofWebClientProviderwhere HTTP requests are called with the given path prefix.WebClientProvider.withRequestConfigurer(Consumer<WebClient.RequestHeadersSpec<?>> requestConfigurer) Deprecated.Create a new instance ofWebClientProvidercalling the givenConsumerto configure the requests of thisWebClient.WebClientProvider.withWebClientConfigurer(Function<WebClient, WebClient> webClientConfigurer) Deprecated.Methods in org.springframework.data.elasticsearch.client.erhlc with parameters of type WebClientProviderModifier and TypeMethodDescriptionstatic HostProvider<?>HostProvider.provider(WebClientProvider clientProvider, Supplier<HttpHeaders> headersSupplier, InetSocketAddress... endpoints) Deprecated.Create a newHostProviderbest suited for the givenWebClientProviderand number of hosts.