hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: Http client 3.0: Setting proxy via command line options
Date Tue, 27 Jun 2006 18:44:19 GMT
Hello J├╝rgen,

> Unfortunately I do not use the HttpClient classes directly, but have an 
> application (NetTool 4.5.1) which uses the HttpClient, without setting the 
> proxy in the API explicitely.
> So my only possibility to set a proxy (and use HttpClient from behind a 
> firewall) would be, if the HttpClient implementation would pick up some 
> -Dxxx parameters or some property file for proxy specification.

Try changing the default parameters:

> For compatibility reasons with the SUN classes the -Dhttp... setting would 
> be great.

It's up to your application to get those system properties and
put them in the default parameters.

hope that helps,

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

View raw message