reconfiguring a running HttpClient instance

2013-04-05 Thread Simone Tripodi
Hi all again mates, sorry for the beginner's question, but I am now in the middle of the need of reconfiguring a running instance of the HttpClient - is there any way, without using the deprecated methods, to reconfigure some parameters, such us the proxy and so on? Many thanks in advance, all

Re: reconfiguring a running HttpClient instance

2013-04-05 Thread Francois-Xavier Bonnet
No, you cannot reconfigure an existing instance. An HttpClient is now an immutable object. If you need to change some settings, you have to create a new HtpClient. 2013/4/5 Simone Tripodi simonetrip...@apache.org Hi all again mates, sorry for the beginner's question, but I am now in the

Re: reconfiguring a running HttpClient instance

2013-04-05 Thread Oleg Kalnichevski
On Fri, 2013-04-05 at 14:30 +0200, Francois-Xavier Bonnet wrote: No, you cannot reconfigure an existing instance. An HttpClient is now an immutable object. If you need to change some settings, you have to create a new HtpClient. This is absolutely true. However, generally one should rarely