Hello,

 �

It seems I should use the 
‘org.apache.hc.core5.http.nio.support.AsyncRequestBuilder’ class. Replacing the 
import works except for the ‘setConfig’ method that we use to replace the 
connection/response timeout for each request sent to the backend. What should I 
use now to replace these 2 values at request level?

 �

Thanks,

Joan.

 �

From: Joan grupoventus <joan.balagu...@grupoventus.com> 
Sent: Thursday, August 1, 2019 10:20 AM
To: 'HttpClient User Discussion' <httpclient-users@hc.apache.org>
Subject: AsyncRequestBuilder deprecated

 �

Hello,

 �

With the latest HttpClient5 release the AsyncRequestBuilder class is 
deprecated. Checking the api docs it’s telling to use ‘AsyncRequestBuilder’

 �

org.apache.hc.client5.http.async.methods


Class AsyncRequestBuilder


*         
<https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true>
 java.lang.Object

*        org.apache.hc.client5.http.async.methods.AsyncRequestBuilder

Deprecated.  

Use  AsyncRequestBuilder

 �

What class should I use now?

 �

Thanks,

 �

Joan.

Reply via email to