If there are no such docs, please file an issue in Jira for them to be created. This is absolutely something that should be documented, both in the Javadoc and on the website. Thanks.
On Thu, Jul 1, 2021 at 10:12 AM Gordon Ross <[email protected]> wrote: > > Are there any docs on thread safety with HTTP Client? > > Looking at the multithread example at > https://github.com/apache/httpcomponents-client/blob/5.1.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java > I'm guessing that anything that's a subclass of HttpUriRequestBase has to be > per-thread but ConnectionManager & HttpClient can be shared. > > Looking at the Javadocs I can't see any obvious mention of thread safety on > any of the classes (or parent classes) > > Thanks, > > Gordon. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Elliotte Rusty Harold [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
