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.javascript
Although the java.net package provides basic functionality for accessing resources via HTTP, it doesn't provide the full flexibility or functionality needed by many applications. HttpClient seeks to fill this void by providing an efficient, up-to-date, and feature-rich package implementing the client side of the most recent HTTP standards and recommendations.html
Designed for extension while providing robust support for the base HTTP protocol, HttpClient may be of interest to anyone building HTTP-aware client applications such as web browsers, web service clients, or systems that leverage or extend the HTTP protocol for distributed communication.java
超文本傳輸協議或許是現現在互聯網中最重要的協議,Web services,網絡應用和網絡計算的增加超過了用戶驅動的web瀏覽器,進一步擴大了HTTP協議的做用同時增長了須要HTTP支持的應用的數量。
web
經過java.net 這個包提供經過HTTP訪問資源的基本功能,它不提供許多應用須要的所有靈活性和功能。HttpClient旨在填補這一空缺經過提供一個高效的,最新的,而且功能豐富的包實現的最新標準和建議的HTTP客戶端.apache
被設計成可擴展同時對基礎HTTP協議提供了強有力的支持,HttpClient被用於建立HTTP-aware客戶端應用,例如:web瀏覽器,web service 客戶端或leverage系統或擴展HTTP協議的分佈式通訊系統。
瀏覽器
Client-side HTTP transport library based on HttpCore網絡
Based on classic (blocking) I/Oapp
Content agnostic分佈式
.client-side HTTP 傳輸庫基於HttpCore
ide
.基於經典的(阻塞)I/O
.內容無關
HttpClient is NOT a browser. It is a client side HTTP transport library. HttpClient's purpose is to transmit and receive HTTP messages. HttpClient will not attempt to process content, execute javascript embedded in HTML pages, try to guess content type, if not explicitly set, or reformat request / rewrite location URIs, or other functionality unrelated to the HTTP transport.
HttpClient 不是一個瀏覽器。它是一個HTTP傳輸庫的客戶端。HttpClient的目的是傳輸和接受HTTP信息。