java - Without changing code, how to force httpClient to use proxy by environment variables or JVM arguments -


i found setting http.proxyhost , http.proxyport of no use httpclient. how force httpclient use proxy environment variables or vm arguments or without changing code?

in https://issues.apache.org/jira/browse/httpclient-1128

systemdefaulthttpclient added ver. 4.2

see http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/systemdefaulthttpclient.html


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -