Objective
Introduction
The current Hypertext Transfer Protocol (HTTP) may be the most significant protocol used on the Internet. After the browser, the continuous development ofWeb services, network-enabled devices, and network computing extends the capabilities of the HTTP protocol. It also adds a large number of applications that need to be supported by HTTP .
Although the java.net package provides the basic functionality for accessing resources over HTTP . But he cannot provide complete, flexible, or practical requirements for the application. and HttpClient is trying to fill this void--the new HTTP standard for the client through effective, up-to-date and feature-rich packages.
1HttpClientScope of application
Httpcore -based client HTTP Transport Library
Based on classic (blocking)I/O
Web content that is not known
2HttpClientOther instructions
HttpClient is not a browser, it is the HTTP Transport Library of the client. The role of HttpClient is to receive HTTP messages. If ' do not explicitly set ' or ' reformat request / redirect URI location ' or ' do other things unrelated to HTTP transfer ',HttpClient will not attempt to process the connection, Executes the JavaScriptembedded in the HTML page, trying to guess the connection content category.
Translator: Lianghong, reprint Please specify, thank you.
HttpClient 4.3.6 Tutorial Preface "Translation"