On Mon, 2021-03-01 at 09:00 +0100, Philippe Mouawad wrote: > Hello, > I hope you're all fine. > > Is it possible to clarify the difference and expected use cases for > those 2 > classes ? > > - H2RequesterBootstrap as available in examples ( > > https://github.com/apache/httpcomponents-core/blob/42f79d433e79eb9d31e01df1e65f763828a3721f/httpcore5-testing/src/main/java/org/apache/hc/core5/benchmark/HttpBenchmark.java > ) > - CloseableHttpAsyncClient as illustrated here > - > > http://hc.apache.org/httpcomponents-client-5.0.x/migration-guide/migration-to-async-http2.html > > I guess the first one is lower level but I am a bit confused by their > respective target > > Thanks
Hi Philippe Requesters in the core module can execute HTTP message exchanges only. They will not automatically manage HTTP state or cookies, will make no attempts to authenticate the user or re-try the exchange in case of a recoverable i/o error. Those advanced client-side functions are provided by clients in the client module. Hope this helps Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org