HttpClient client = new DefaultHttpClient();
client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, new HttpHost(proxyIp, proxyPort));
HttpClient client = new DefaultHttpClient();
client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, new HttpHost(proxyIp, proxyPort));
本文标题:HttpClient4.1.3设置代理
本文链接:https://www.haomeiwen.com/subject/tewmxqtx.html
网友评论