Netty HTTP Server Start-up development

Source: Internet
Author: User
I. Introduction to HTTP

  HTTP (Hypertext Transfer Protocol) Protocol is the application layer protocol based on TCP Transport protocol, and its development is the result of collaboration between WWW Association and Internet Working Group and IETF. HTTP is an object-oriented protocol belonging to the application layer, which is suitable for distributed hypermedia information System because of its convenient and fast way.

The main features of the HTTP protocol are as follows:
  1. Supports Client/server mode.
  2. Simple----When a client requests a service from a server, it simply specifies the URL of the service, carrying the necessary request parameters or the body of the message;
  3. Flexible----HTTP allows the transfer of any type of data object, and the transport content type is content-type specified in the HTTP message header.
  4. Stateless----HTTP protocol is a stateless protocol, stateless means that the protocol has no memory function for session state, the lack of state means that if the subsequent processing needs the previous information, then it must be re-transmitted. This causes the amount of data to be transferred each time the connection is increased on the other hand, when the server does not need the previous information, It responds faster and has less load.

  Netty 's HTTP protocol stack was developed based on the Netty Nio communication Framework. Therefore, the HTTP protocol for Netty is asynchronous and non-blocking.

Netty HTTP Server Start-up development

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.