美文网首页
HttpClient4.1.3设置代理

HttpClient4.1.3设置代理

作者: 马木木 | 来源:发表于2018-11-07 11:20 被阅读0次
    HttpClient client = new DefaultHttpClient();
    client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, new HttpHost(proxyIp, proxyPort));
    

    相关文章

      网友评论

          本文标题:HttpClient4.1.3设置代理

          本文链接:https://www.haomeiwen.com/subject/tewmxqtx.html