You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Paranoid <pa...@ukr.net> on 2006/11/23 16:28:52 UTC

how to use HTTP Proxy

hi all!
have stupid question - how to use HTTP proxy?
saw method for setting proxy in HostConfiguration, but think that it is not the real way... is there any possibility to set global http proxy for HttpClient or ConnectionManager, or really need to set it 
manually for every host?
thanx for attension...

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: how to use HTTP Proxy

Posted by Roland Weber <ht...@dubioso.net>.
Paranoid wrote:

> saw method for setting proxy in HostConfiguration, but think that it is not the real way...

Yes, that's the way.

> is there any possibility to set global http proxy for HttpClient or ConnectionManager,

Every HttpClient has a default HostConfiguration in case you're not passing
one with the method to be executed.

hope that helps,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org