Hi,
I am evaluating the impact of migrating from HTTP Client 3.1
to 4.0, and this is going well so far. But I couldn't find a
way to set proxy settings. In 3.1 I do (error management left
for clarity):
String host = System.getProperty("http.proxyHost");
String port = System.getProperty("http.proxyPort");
client.getHostConfiguration()
. setProxy(host, Integer.parseInt(port));
As an aside question, shouldn't the client take the system
properties http.proxy* and https.proxy* into account?
Regards,
--
Florent Georges
http://www.fgeorges.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]