Re: More about migration from async4.1.3 to http5

2018-10-19 Thread Oleg Kalnichevski
On Fri, 2018-10-19 at 16:02 +0200, Joan Balagueró wrote: > Hello, > > > > Just three more questions: > > > > 1. Is this the way to set a byte array to the RequestBuilder’s > entity > (using a org.apache.http.nio.entity.NByteArrayEntity)? > > > > org.apache.hc.client5.http.classic.

More about migration from async4.1.3 to http5

2018-10-19 Thread Joan Balagueró
Hello, Just three more questions: 1. Is this the way to set a byte array to the RequestBuilder’s entity (using a org.apache.http.nio.entity.NByteArrayEntity)? org.apache.hc.client5.http.classic.methods.RequestBuilder.RequestBuilder rb = RequestBuilder.post(uri); org.apache.http.n