Interface ApacheHttpClient5TransportBuilder.RequestConfigCallback
-
- Enclosing class:
- ApacheHttpClient5TransportBuilder
public static interface ApacheHttpClient5TransportBuilder.RequestConfigCallbackCallback used the defaultRequestConfigbeing set to theCloseableHttpClient- See Also:
HttpClientBuilder.setDefaultRequestConfig(org.apache.hc.client5.http.config.RequestConfig)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.hc.client5.http.config.RequestConfig.BuildercustomizeRequestConfig(org.apache.hc.client5.http.config.RequestConfig.Builder requestConfigBuilder)Allows to customize theRequestConfigthat will be used with each request.
-
-
-
Method Detail
-
customizeRequestConfig
org.apache.hc.client5.http.config.RequestConfig.Builder customizeRequestConfig(org.apache.hc.client5.http.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.- Parameters:
requestConfigBuilder- theRestClientBuilderfor customizing the request configuration.
-
-