任何可用的 Java 代理服务器库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14840603/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 17:35:35  来源:igfitidea点击:

Any Java Proxy Server Library Available?

javaproxyreverse-proxy

提问by John

I'm developing a client application. The application connects through a proxy server that run at 127.0.0.1:1080

我正在开发客户端应用程序。应用程序通过运行在 127.0.0.1:1080 的代理服务器连接

The proxy server running at 127.0.0.1:1080 will also forward the client request through a set of random proxies and return the output back to the client application.

运行在 127.0.0.1:1080 的代理服务器也会通过一组随机代理转发客户端请求,并将输出返回给客户端应用程序。

Basically the client makes request through a proxy server but the proxy server forward request through a set of random proxies.

基本上,客户端通过代理服务器发出请求,但代理服务器通过一组随机代理转发请求。

Is there a Java library that can help?

是否有可以提供帮助的 Java 库?

采纳答案by Lemon Juice

I did a quick search, and found the following

我进行了快速搜索,并找到了以下内容

Java HTTP Proxy Library - http://sourceforge.net/projects/wpg-proxy/

Java HTTP 代理库 - http://sourceforge.net/projects/wpg-proxy/

JAVA SOCKS - http://jsocks.sourceforge.net/

爪哇袜子 - http://jsocks.sourceforge.net/

Google Data API - https://developers.google.com/gdata/articles/proxy_setup

谷歌数据 API - https://developers.google.com/gdata/articles/proxy_setup

回答by anoopelias

Apache HTTPClientlibrary supports proxies.

Apache HTTPClient库支持代理。