Apache Http component (Apache httpcomponents)-Apache translation come on, I don't think we know each other.

Source: Internet
Author: User

Apache httpcomponents

The beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)

This article follows "Attribution-non-commercial use-consistent" authoring public agreement

Reprint Please keep this sentence: Sun Vulcan's Beautiful Life-this blog focuses on Agile development and mobile and IoT device research: IOS, Android, HTML5, Arduino, Pcduino , Otherwise, the article from this blog refused to reprint or re-reproduced, thank you for your cooperation.


The title is nothing to flip, it is Apache provides free open source Http component library. Apache sudden translation come over, since some of the dull, not too know, but to Apache more awe-inspiring heart.

But using Android's Brotherhood will find that Android is already built in.

Yes, but Java is not inherently owned, so try it.


It should be explained here that the Asynch HttpClient Encapsulation of Java NIO, the asynchronous network request has always been my favorite, no thread blocking wait, no select Check event, of course, the internal implementation may have done so, But at least we don't need our developers to do these things.


Is Android asyntask going to be laid off?

The sound of the Tao is still ...


Apache httpcomponents

The Apache httpcomponents? Project is responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated Protocols.

This project functions under the Apache software Foundation (http://www.apache.org), and was part of a larger community of Developers and users.

Httpcomponents Overview

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 the network computing continue to expand the role of the HTTP proto Col 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 could be of interest to Anyone building Http-aware client and server applications such as Web browsers, web spiders, HTTP proxies, Web service TR Ansport libraries, or systems, leverage or extend the HTTP protocol for distributed communication.

Httpcomponents structurehttpcomponents Core

Httpcore is a set of the low level HTTP transport components The can be used to build custom client and server side HTTP services with a minimal footprint. Httpcore supports I/O models:blocking I/O model based on the classic Java I/O and non-blocking, event driven I/O mode L based on Java NIO.

The blocking I/O model is more appropriate to data intensive, low latency scenarios, whereas the non-blocking model M Ay be more appropriate-latency scenarios where raw data throughput is less important than the ability to handle T Housands of simultaneous HTTP connections in a resource efficient manner.

    • Httpcore Tutorial HTML / PDF
    • Httpcore Examples
Httpcomponents Client

HttpClient is a http/1.1 compliant HTTP agent implementation based on Httpcore. IT also provides reusable components for Client-side authentication, HTTP State management, and HTTP connection management . Httpcomponents Client is a successor of and replacement for Commons HttpClient 3.x. Users of Commons HttpClient A Re strongly encouraged to upgrade.

    • HttpClient Tutorial HTML / PDF
    • HttpClient Samples
    • HttpClient Port for Android
Httpcomponents asyncclient

Asynch HttpClient is a http/1.1 compliant HTTP agent implementation based on Httpcore NIO and HttpClient Componen Ts. It is a complementary module to Apache HttpClient intended for special cases where ability to handle a great number of con Current connections are more important than performance in terms of a raw data throughput.

    • Httpasyncclient Samples
Commons HttpClient (Legacy)

Commons HttpClient 3.x Codeline is at the end of life. All users of Commons HttpClient 3.x is strongly encouraged to upgrade to HttpClient 4.1.







Apache Http component (Apache httpcomponents)-Apache translation come on, I don't think we know each other.

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.