以下库都可以,有机会再补上示例代码。 HttpClient OkHttpClient Async Http Client 还有一般做法,通过Servlet的redirect方式,从前端再发起一次请求,但是这个不适合App后端服务器的做法。
用httpclient发送请求