Java Basic Knowledge Enhancement Network programming note 19:android network communication httpclient and the traditional post, get mode difference

Source: Internet
Author: User

1. What is HttpClient?

The HTTP protocol is probably the most widely used and most important protocol on the Internet now, and more and more Java applications need to access network resources directly through the HTTP protocol. while the basic functionality of accessing the HTTP protocol has been provided in the Java NET Package of the JDK, theJDK library itself provides a lack of functionality and flexibility for most applications.

HttpClient is a sub-project under Apache Jakarta Common to provide an efficient, up-to- date, feature-rich client programming toolkit that supports the HTTP protocol , and it supports the latest versions and recommendations of the HTTP protocol.

2. HttpClient Function Description:

The main features provided by HttpClient are listed below, and more detailed features can be found in the HttpClient home page. (1) Implementation of all HTTP methods (Get,post,put,head, etc.) (2) Support automatic steering (3) Support HTTPS protocol (4) Support proxy server, etc. 3. Code emulation Browser behavior: (1) Open browser (2) input data (3) hit enter

Java Basic Knowledge Enhancement Network programming note 19:android network communication httpclient and the traditional post, get mode difference

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.