public void setProxy ( String proxyHost , int proxyPort ) { this . proxy = new Proxy ( Proxy . Type . HTTP , new InetSocketAddress ( proxyHost , proxyPort ) ) ; }
Sets an HTTP proxy server configuration for this client .