HttpGet httpget = new HttpGet("http://www.apache.org/");
RequestConfig requestConfig = RequestConfig.copy(defaultRequestConfig)
    .setProxy(new HttpHost("myotherproxy", 8080))
    .build();
httpget.setConfig(requestConfig);
原文
http://www.tuicool.com/articles/MjumArm

相关文章:

  • 2021-12-09
  • 2021-10-25
  • 2021-12-06
  • 2021-06-04
猜你喜欢
  • 2021-10-27
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2022-02-22
相关资源
相似解决方案