【问题标题】:Where is the documentation for HttpClient 4.1.x?HttpClient 4.1.x 的文档在哪里?
【发布时间】:2015-03-27 08:00:33
【问题描述】:

HttpClient 4.1.x 的文档在哪里?

我只想要http://hc.apache.org/httpcomponents-client-4.4.x/index.html4.4.x 的文档)之类的东西


我的悲伤故事

我将使用HttpClient 4.1.x,但无法升级到4.3.x4.4.x,因为父模块(调用我的模块)使用4.1.x。这是大公司的典型问题。

首先,我想找到HttpClient 4.1.x的文档,所以我打开了HttppClient的主页:

http://hc.apache.org/

但在导航中我只能找到4.34.4 的文档。我找了Older VersionsVersion List 之类的东西,但找不到任何东西。

然后我尝试搜索(Google)并找到了4.2.x 主页。我希望这可能会链接到 4.1.x 文档,但没有运气。

http://hc.apache.org/httpcomponents-client-4.2.x/index.html

我擅长学习模式,所以我猜4.1.x的主页是:

http://hc.apache.org/httpcomponents-client-4.1.x/index.html

但是,再次失望:

【问题讨论】:

    标签: java apache httpclient document apache-httpclient-4.x


    【解决方案1】:

    幸运的是,Wayback Machine 可以为您提供存档站点: https://web.archive.org/web/20120103180744/http://hc.apache.org/httpcomponents-client-ga/index.html

    (相当笨拙的)替代方法是自己构建它:

    1. 查看 HttpClient:svn co http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.3 httpclient
    2. 构建 HttpClient 的站点,跳过子项目:mvn -pl . site(子项目包含缺少的依赖项)
    3. 构建仍然会失败,但它足以在target/site 中生成 HTML 和 PDF 文档,包括一个大型教程 PDF。

    这对我有用,虽然这是一个相当笨拙的过程。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-14
      • 1970-01-01
      • 2019-03-07
      • 1970-01-01
      • 2017-04-08
      • 2015-02-21
      • 2014-06-27
      • 2017-12-22
      相关资源
      最近更新 更多