Hi,

   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.

Regards
 Vasu

On Mon, Jul 11, 2011 at 3:16 PM, Gurmeet Budhraja <
[email protected]> 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
>

Reply via email to