Interface ElasticsearchHttpClientConfigurationContext
- All Superinterfaces:
ElasticsearchHttpClientConfigurationContext
@Deprecated(since="8.2",
forRemoval=true)
public interface ElasticsearchHttpClientConfigurationContext
extends ElasticsearchHttpClientConfigurationContext
Deprecated, for removal: This API element is subject to removal in a future version.
Use the client specific configurers instead.
The context passed to
ElasticsearchHttpClientConfigurer-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<ElasticsearchVersion> Deprecated, for removal: This API element is subject to removal in a future version.Use theproperty sourceand inspect the corresponding properties (e.g.Methods inherited from interface ElasticsearchHttpClientConfigurationContext
beanResolver, clientBuilder, configurationPropertySource
-
Method Details
-
configuredVersion
@Deprecated(since="8.2", forRemoval=true) default Optional<ElasticsearchVersion> configuredVersion()Deprecated, for removal: This API element is subject to removal in a future version.Use theproperty sourceand inspect the corresponding properties (e.g.ElasticsearchBackendSettings.VERSION) instead.- Returns:
- The version of Elasticsearch/OpenSearch configured on the backend. May be empty if not configured explicitly (in which case it will only be known after the client is built).
-