httpClient4 设置代理 HttpHost proxy = new HttpHost(p.getIp(), p.getPort()); httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy); java 2023-11-02 56 点赞 0 评论 84 浏览