Package org.elasticsearch.client
Interface RestClientBuilder.RequestConfigCallback
- Enclosing class:
- RestClientBuilder
public static interface RestClientBuilder.RequestConfigCallback
Callback used the default 
RequestConfig being set to the CloseableHttpClient- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.http.client.config.RequestConfig.BuildercustomizeRequestConfig(org.apache.http.client.config.RequestConfig.Builder requestConfigBuilder) Allows to customize theRequestConfigthat will be used with each request.
- 
Method Details- 
customizeRequestConfigorg.apache.http.client.config.RequestConfig.Builder customizeRequestConfig(org.apache.http.client.config.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.
 
-