Re: using apache httpclient efficiently in multithreaded environment

2016-05-13 Thread Check Peck
You mean to say this is inefficient? If yes, then what should I do instead of below? String responseBody = IOUtils.toString(entity.getContent(), StandardCharsets .UTF_8); On Fri, May 13, 2016 at 4:03 AM, Oleg Kalnichevski wrote: > On Thu, 2016-05-12 at 13:17 -0700, Check Peck

Re: using apache httpclient efficiently in multithreaded environment

2016-05-13 Thread Oleg Kalnichevski
On Thu, 2016-05-12 at 13:17 -0700, Check Peck wrote: > I have a library which is being used by customer and they are passing > DataRequest object which has userid, various timeouts and some other fields > in it. Now I use this DataRequest object to make a URL and then I make an > HTTP call using