org.springframework.http.client

Class HttpComponentsAsyncClientHttpRequestFactory

    • Constructor Detail

      • HttpComponentsAsyncClientHttpRequestFactory

        public HttpComponentsAsyncClientHttpRequestFactory()
        Deprecated. 
        Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with a default HttpAsyncClient and HttpClient.
      • HttpComponentsAsyncClientHttpRequestFactory

        public HttpComponentsAsyncClientHttpRequestFactory(org.apache.http.nio.client.HttpAsyncClient asyncClient)
        Deprecated. 
        Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given HttpAsyncClient instance and a default HttpClient.
        Parameters:
        asyncClient - the HttpAsyncClient instance to use for this request factory
        Since:
        4.3.10
      • HttpComponentsAsyncClientHttpRequestFactory

        public HttpComponentsAsyncClientHttpRequestFactory(org.apache.http.impl.nio.client.CloseableHttpAsyncClient asyncClient)
        Deprecated. 
        Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given CloseableHttpAsyncClient instance and a default HttpClient.
        Parameters:
        asyncClient - the CloseableHttpAsyncClient instance to use for this request factory
      • HttpComponentsAsyncClientHttpRequestFactory

        public HttpComponentsAsyncClientHttpRequestFactory(HttpClient httpClient,
                                                           org.apache.http.nio.client.HttpAsyncClient asyncClient)
        Deprecated. 
        Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given HttpClient and HttpAsyncClient instances.
        Parameters:
        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

        public HttpComponentsAsyncClientHttpRequestFactory(CloseableHttpClient httpClient,
                                                           org.apache.http.impl.nio.client.CloseableHttpAsyncClient asyncClient)
        Deprecated. 
        Create a new instance of the HttpComponentsAsyncClientHttpRequestFactory with the given CloseableHttpClient and CloseableHttpAsyncClient instances.
        Parameters:
        httpClient - the CloseableHttpClient instance to use for this request factory
        asyncClient - the CloseableHttpAsyncClient instance to use for this request factory