open class HttpComponentsAsyncClientHttpRequestFactory : HttpComponentsClientHttpRequestFactory, AsyncClientHttpRequestFactory, InitializingBean
Asynchronous extension of the HttpComponentsClientHttpRequestFactory. Uses Apache HttpComponents HttpAsyncClient 4.0 to create requests.
Author
Arjen Poutsma
Author
Stephane Nicoll
Since
4.0
See Also
HttpAsyncClient
HttpComponentsAsyncClientHttpRequestFactory()
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory(asyncClient: HttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory(asyncClient: CloseableHttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory(httpClient: HttpClient, asyncClient: HttpAsyncClient)
Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory(httpClient: CloseableHttpClient, asyncClient: CloseableHttpAsyncClient)
Create a new instance of the |
open fun afterPropertiesSet(): Unit |
|
open fun createAsyncRequest(uri: URI, httpMethod: HttpMethod): AsyncClientHttpRequest |
|
open fun destroy(): Unit |
|
open fun getAsyncClient(): HttpAsyncClient
Return the |
|
open fun getHttpAsyncClient(): CloseableHttpAsyncClient
Return the |
|
open fun setAsyncClient(asyncClient: HttpAsyncClient): Unit
Set the |
|
open fun setHttpAsyncClient(asyncClient: CloseableHttpAsyncClient): Unit
Set the |