@FunctionalInterface public interface RestClientBuilderCustomizer
RestClient
through a RestClientBuilder
whilst
retaining default auto-configuration.Modifier and Type | Method and Description |
---|---|
default void |
customize(org.apache.http.impl.nio.client.HttpAsyncClientBuilder builder)
Customize the
HttpAsyncClientBuilder . |
default void |
customize(org.apache.http.client.config.RequestConfig.Builder builder)
Customize the
RequestConfig.Builder . |
void |
customize(org.elasticsearch.client.RestClientBuilder builder)
Customize the
RestClientBuilder . |
void customize(org.elasticsearch.client.RestClientBuilder builder)
RestClientBuilder
.
Possibly overrides customizations made with the "spring.elasticsearch.rest"
configuration properties namespace. For more targeted changes, see
customize(HttpAsyncClientBuilder)
and
customize(RequestConfig.Builder)
.
builder
- the builder to customizedefault void customize(org.apache.http.impl.nio.client.HttpAsyncClientBuilder builder)
HttpAsyncClientBuilder
.builder
- the builderdefault void customize(org.apache.http.client.config.RequestConfig.Builder builder)
RequestConfig.Builder
.builder
- the builder