HttpComponents Client 4.4 GA 发布

jopen 9年前

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

HttpComponents Client 4.4 GA 发布,此版本值得关注的改进如下:

支持最新的 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&gt;

更高效持续的连接检查

身份验证缓存线程安全

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