HttpComponentsAsyncClientHttpRequestFactory()
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with a default HttpAsyncClient and HttpClient.
HttpComponentsAsyncClientHttpRequestFactory(asyncClient: HttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given HttpAsyncClient instance and a default HttpClient.
asyncClient - the HttpAsyncClient instance to use for this request factory
Since
4.3.10
HttpComponentsAsyncClientHttpRequestFactory(asyncClient: CloseableHttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given CloseableHttpAsyncClient instance and a default HttpClient.
asyncClient - the CloseableHttpAsyncClient instance to use for this request factory
HttpComponentsAsyncClientHttpRequestFactory(httpClient: HttpClient, asyncClient: HttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given HttpClient and HttpAsyncClient instances.
httpClient - the HttpClient instance to use for this request factory
asyncClient - the HttpAsyncClient instance to use for this request factory
Since
4.3.10
HttpComponentsAsyncClientHttpRequestFactory(httpClient: CloseableHttpClient, asyncClient: CloseableHttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given CloseableHttpClient and CloseableHttpAsyncClient instances.
httpClient - the CloseableHttpClient instance to use for this request factory
asyncClient - the CloseableHttpAsyncClient instance to use for this request factory