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