很简单的调用api,避免以后忘记,特此记录下来
HttpClient client = new HttpClient();
client.getHostConfiguration().setProxy(hostname, port);
很简单的调用api,避免以后忘记,特此记录下来
HttpClient client = new HttpClient();
client.getHostConfiguration().setProxy(hostname, port);