hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasudevan Comandur <vcoman...@gmail.com>
Subject Re: Persistent Connection Manager with Proxy Configuration on Client side
Date Mon, 11 Jul 2011 10:40:34 GMT

   Use the following sequence of calls to setup proxy parameters with
MultithreadedHttpConnectionManager for version 3.1.

   1. Create a new MultithreadedHttpConnectionManager
   1a. getHostConfiguration
   2. Authscope with Proxy parameter setting (HOST & Port number)
   3. Usernamepasswordcredentials (username, password) if you have
username/password configured in proxy.
   4. setProxy (object from 1a, ProxyHost, ProxyPort)
   5. setProxyCredentials (object of step2, object of step3)

   These above steps should set the proxy settings. I hope his helps.


On Mon, Jul 11, 2011 at 3:16 PM, Gurmeet Budhraja <
guri.mailinglists@gmail.com> wrote:

> Hi
> I am trying to understand how does MultiThreadedHttpConnectionManager
> function when using Proxy configurations in Client. I tried to look at the
> call for creating connection manager in getConnectionWithTimeout() but not
> able to figure out any setting being used for proxyHost and proxyPort.
> Kindly suggest - any suggestion/help/samples would be helpful.
> Thanks
> Guri

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message