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

razor - Is this a bug in WebMatrix PageData? -

iphone - Requiring the presence of a method in an id -

xslt - Is it possible to select a node that just includes a subset of the child nodes? -