What is the difference between different apache-httpclient5 config provided by Apache HttpClient 5?

Hey @chintan_patel

There are indeed many of those, the ones ApacheHttpClient5TransportBuilder makes explicit use of at the moment are:

RequestConfig: Configure the request made by the http client. 
- setConnectTimeout(Timeout): Timeout for the request made by the http client to get a connection from the host. 
- setResponseTimeout(Timeout): Timeout for the request made by the http client to get a response from the host.

These and other parameters could be set using HttpClientConfigCallback while building Apache HttpClient 5 based transport and solely depend on what application or service need. Thanks you.

1 Like