Package org.elasticsearch.client
Interface RestClientBuilder.RequestConfigCallback
-
- Enclosing class:
- RestClientBuilder
public static interface RestClientBuilder.RequestConfigCallbackCallback used the defaultRequestConfigbeing set to theCloseableHttpClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestConfig.BuildercustomizeRequestConfig(RequestConfig.Builder requestConfigBuilder)Allows to customize theRequestConfigthat will be used with each request.
-
-
-
Method Detail
-
customizeRequestConfig
RequestConfig.Builder customizeRequestConfig(RequestConfig.Builder requestConfigBuilder)
Allows to customize theRequestConfigthat will be used with each request. It is common to customize the different timeout values through this method without losing any other useful default value that theRestClientBuilderinternally sets.
-
-