I have been trying to do this since some days but couldn't get a working fix :/, so I'll just ask a question on here. Is there any way to use HTTPs proxies with Apache HttpClient?
And what is the fastest way to use an HTTP proxy with it? HttpClientBuilder#setProxy seems pretty slow.
Thanks!
I recomend http-request built on apache http api. You can build the HttpRequest
with proxy as following:
HttpRequest httpRequest = HttpRequestBuilder.create(someHttpMethod, someUri)
.proxy(host, port)
.build();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.