Closed jmgrozas closed 4 years ago
To config proxy for example: set http.proxyHost set http.proxyPort or pass -D into java execution command.
java -Dhttp.proxyHost=myproxydomain.com -Dhttp.proxyPort=8080 -jar example.jar
All available system properties are:
Regards.
Closing as per stale
I have the same problem ... My work around is using environment var to select the strategy of httpclient creation ....
To select strategy:
System.setProperty(HttpClientManager.SYSTEM_HTTP_CLIENT_CREATE,HttpClientManager.HttpClientType.SYSTEM.name());
``