JVM设置代理

15

-Djava.net.useSystemProxies=true

-Dhttp.proxyHost=127.0.0.1

-Dhttp.proxyPort=1080

-Dhttps.proxyHost=127.0.0.1

-Dhttps.proxyPort=1080

-Dhttp.proxyUser=username

-Dhttp.proxyPassword=password

-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.*.*.*|*.example.com‌​"