HttpComponents Client 4.4 GA 發布
HttpComponents 也就是以前的httpclient項目,可以用來提供高效的、最新的、功能豐富的支持 HTTP 協議的客戶端/服務器編程工具包,并且它支持 HTTP 協議最新的版本和建議。不過現在的 HttpComponents 包含多個子項目,有:
-
HttpComponents Core
-
HttpComponents Client
-
HttpComponents AsyncClient
-
Commons HttpClient
以下列出的是 HttpClient 提供的主要的功能,要知道更多詳細的功能可以參見 HttpClient 的主頁。
-
實現了所有 HTTP 的方法(GET,POST,PUT,HEAD 等)
-
支持自動轉向
-
支持 HTTPS 協議
-
支持代理服務器等
-
支持Cookie
- 支持最新的 HTTP state 管理規范 (RFC 6265)
- Enhanced, redesigned and rewritten default SSL hostname verifier with
improved RFC 2818 compliance
- Default SSL hostname verifier and default cookie policy now validate
certificate identity and cookie domain of origin against the public
suffix list maintained by Mozilla.org <https://publicsuffix.org/list>
- 更高效持續的連接檢查
- 身份驗證緩存線程安全
- Native Windows Negotiate and NTLM via SSPI through JNA
同時還包括 4.3.x 的 bug 修復,請注意,此版本最低要求 Java 1.6。此版本現已提供下載:http://hc.apache.org/downloads.cgi
發行說明:https://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.4.x.txt
來自:http://www.oschina.net/news/59466/httpcomponents-client-4-4-ga