public static void disableProxy ( ) { System . clearProperty ( "http.proxyHost" ) ; System . clearProperty ( "http.proxyPort" ) ; System . clearProperty ( "http.proxyUserName" ) ; System . clearProperty ( "http.proxyUser" ) ; System . clearProperty ( "http.proxyPassword" ) ; System . clearProperty ( "https.proxyHost" ) ; System . clearProperty ( "https.proxyPort" ) ; System . clearProperty ( "https.proxyUserName" ) ; System . clearProperty ( "https.proxyUser" ) ; System . clearProperty ( "https.proxyPassword" ) ; _url = null ; _port = null ; _user = null ; _pwd = null ; hasProxy = false ; }
Disable the proxy usage .