Created
January 25, 2014 06:36
-
-
Save oshanz/8612622 to your computer and use it in GitHub Desktop.
java se proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//use manual settings | |
System.setProperty("http.proxyHost", host); | |
System.setProperty("http.proxyPort", port); | |
//use system proxy | |
System.setProperty("java.net.useSystemProxies", "true"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment