Uses of Class
org.springframework.data.elasticsearch.support.HttpHeaders
Packages that use HttpHeaders
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 HttpHeaders in org.springframework.data.elasticsearch.client
Methods in org.springframework.data.elasticsearch.client that return HttpHeadersModifier and TypeMethodDescriptionClientConfiguration.getDefaultHeaders()
Obtain theHttpHeaders
to be used by default.Methods in org.springframework.data.elasticsearch.client that return types with arguments of type HttpHeadersMethods in org.springframework.data.elasticsearch.client with parameters of type HttpHeadersModifier and TypeMethodDescriptionClientConfiguration.TerminalClientConfigurationBuilder.withDefaultHeaders
(HttpHeaders defaultHeaders) Method parameters in org.springframework.data.elasticsearch.client with type arguments of type HttpHeadersModifier and TypeMethodDescriptionClientConfiguration.TerminalClientConfigurationBuilder.withHeaders
(Supplier<HttpHeaders> headers) set a supplier for custom headers. -
Uses of HttpHeaders in org.springframework.data.elasticsearch.client.erhlc
Method parameters in org.springframework.data.elasticsearch.client.erhlc with type arguments of type HttpHeadersModifier 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.void
DefaultReactiveElasticsearchClient.setHeadersSupplier
(Supplier<HttpHeaders> headersSupplier) Deprecated.