关闭

apache基金会软件宝库鉴赏(草稿)

标签: apache基金会javaapi
306人阅读 评论(0) 收藏 举报
分类:

apache基金会是一个宝库, 只有你想不到, 没有它没有的.
apache基金会的软件大体上分为jar包和独立软件, 让我们默念”芝麻开门”, 进入这个软件的宝库吧


java第三方jar包

1 Apache HttpClient - 一站式http协议解决方案

<dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
    <version>4.5.2</version>
</dependency>

前身是commons-httpclient, 曾经是Java网络开发人手一个的神器. 但是, 它的API老是变化, 导致用户流失, 比如OSChina上HttpComponents Client 4.4.1发布的评论中, 满是抱怨: “这货的API又变了?”

虽然有抱怨,但是从 Apache Maven 仓库的使用情况来看,最新的 4.5.x 用户最多

 4.5.2

兼容性:
支持Java 6或更高版本

Changelog:

  • [HTTPCLIENT-1710, HTTPCLIENT-1718, HTTPCLEINT-1719] OSGi container compatibility improvements.

  • [HTTPCLIENT-1717] Make fluent API Content#Content(byte[], ContentType) public.

  • [HTTPCLIENT-1715] NTLMEngineImpl#Type1Message not thread safe but declared as a constant.

  • [HTTPCLIENT-1714] Add HttpClientBuilder#setDnsResolver(DnsResolver).

  • [HTTPCLIENT-1712] SPNego schemes to take service scheme into account when generating auth token.

  • [HTTPCLIENT-1700] Netscape draft, browser compatibility, RFC 2109, RFC 2965 and default cookie
    specs to ignore cookies with empty name for consistency with RFC 6265 specs.

  • [HTTPCLIENT-1704] IgnoreSpec#match to always return false.

  • [HTTPCLIENT-1550] Fixed ‘deflate’ zlib header check.

  • [HTTPCLIENT-1698] Fixed matching of IPv6 addresses by DefaultHostnameVerifier

  • [HTTPCLIENT-1695] RFC 6265 compliant cookie spec to ignore cookies with empty name / missing
    value.

  • [HTTPCLIENT-1216] Removed ThreadLocal subclass from DateUtils.

  • [HTTPCLIENT-1685] PublicSuffixDomainFilter to ignore local hosts and local domains.

 4.4.1

兼容性:
支持Java 6或更高版本

依赖包:
NameValuePair 在 httpcore-4.4.4.jar中

支持标准:
RFC 1945 - Hypertext Transfer Protocol – HTTP/1.0
RFC 2616 - Hypertext Transfer Protocol – HTTP/1.1
RFC 2617 - HTTP Authentication: Basic and Digest Access Authentication
RFC 6265 - HTTP State Management Mechanism (Cookies)

Changelog:

  • [HTTPCLIENT-1680] redirect of a POST request causes ClientProtocolException.

  • [HTTPCLIENT-1673] org.apache.http.entity.mime.content.* missing from OSGi exports.

  • [HTTPCLIENT-1668] Fluent request incorrectly handles connect timeout setting.

  • [HTTPCLIENT-1667] RequestBuilder does not take charset into account when creating
    UrlEncodedFormEntity.

  • [HTTPCLIENT-1655] HttpClient sends RST instead of FIN ACK sequence when using non-persistant
    connections.

2 httpmine - 子项目_用http协议传送文件

3 POI - doc_docx_xls_xlsx读取

独立项目

1 Tomcat - 或可媲美apache或weblogic的服务器容器

tomcat是servlet容器, 是中间件, 是一个网站的顶梁柱, 是开源服务器的胜利.

2 Subversion - 大名鼎鼎的SVN是也

subversion(SVN)开源的代码版本控制软件, 搭建和使用它是如此方便, 以至于能和github分庭抗礼

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:281372次
    • 积分:4076
    • 等级:
    • 排名:第7887名
    • 原创:122篇
    • 转载:64篇
    • 译文:7篇
    • 评论:35条
    最新评论