<a target="_blank" href="http://hc.apache.org/index.html">Apache HttpComponents</a>
<a target="_blank" href="http://blog.csdn.net/opengl_es">轉載請保留此句:太陽火神的美麗人生 - 本部落格專注于 靈活開發及移動和物聯裝置研究:iOS、Android、Html5、Arduino、pcDuino,否則,出自本部落格的文章拒絕轉載或再轉載,謝謝合作。</a>
标題也就沒啥可翻的了,就是 Apache 提供的免費開源的 Http 元件庫。Apache 冷不丁翻譯過來,自已有些木讷了,不太認識,反而對 Apache 更有敬畏之心。
但使用 Android 的兄弟會發現,Android 已經内置了。
是的,但 Java 并不天生擁有,那麼不妨使用一下。
Android 的 AsynTask 是否會下崗呢?
估計濤聲依舊了。。。
這個 Apache HttpComponents™ 項目負責建立和維護一組底層 Java 元件,專注于 HTTP 和相關的協定。
The Apache HttpComponents™ project is responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols.
該項目在 Apache 軟體基金會管控下運作,并成為大量社群開發者和使用者的一部分。
This project functions under the Apache Software Foundation (http://www.apache.org), and is part of a larger community of developers and users.
超文本傳輸協定也許是當今在網際網路上使用得最典型的協定。Web 服務,網絡可用的應用以及網絡計算的增長都在持續地擴大 HTTP 協定在使用者驅動的 web 浏覽器上角度,同時也提高了需要 HTTP 支援的應用數量。
The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today. Web services, network-enabled appliances and the growth of network computing continue to expand the role of the HTTP protocol beyond user-driven web browsers, while increasing the number of applications that require HTTP support.
Designed for extension while providing robust support for the base HTTP protocol, the HttpComponents may be of interest to anyone building HTTP-aware client and server applications such as web browsers, web spiders, HTTP proxies, web service transport libraries, or systems that leverage or extend the HTTP protocol for distributed communication.
The blocking I/O model may be more appropriate for data intensive, low latency scenarios, whereas the non-blocking model may be more appropriate for high latency scenarios where raw data throughput is less important than the ability to handle thousands of simultaneous HTTP connections in a resource efficient manner.
Commons HttpClient 3.x codeline is at the end of life. All users of Commons HttpClient 3.x are strongly encouraged to upgrade to HttpClient 4.1.