public void setHTTPProxy ( String PROXYNAME , int PROXYPORT ) { if ( PROXYNAME == null ) { this . proxy_to_use = null ; } else { this . proxy_to_use = new Proxy ( Proxy . Type . HTTP , new InetSocketAddress ( PROXYNAME , PROXYPORT ) ) ; } }
Sets the http - proxy to use .