HTTP (Hyper-Text Transfer Protocol)Hypertext Transfer Protocol (HTTP) is an application-level protocol for Collaborative, distributed, hypermedia information systems. It is a data communication protocol used to establish communication between the client and the server. HTTP protocol is a TCP/IP-based communication protocol used to transfer image files, query results, HTML files and other data on the World Wide Web (WWW), the default port is TCP 80, providing a standardized way for computers to communicate with each other.
Basic features of HTTP (Hypertext Transfer Protocol):1. Allow network server and browser to exchange data over the network2. Request/Response Protocol3. Use a reliable TCP connection by default on TCP 80 ports4. Is stateless, which means that each request is a new request for the server and the server does not recognize the requested user HTTP (Hypertext Transfer Protocol) features:3 Basic features make HTTP an easy and powerful communication protocol1.HTTP is media agnostic: This means that any media content can be transmitted over HTTP, as long as the client and server can handle the data content2.HTTP is not connected: Such a connection, the client is the browser after sending an HTTP request and after the request sent to the server to disconnect, and wait for a response. 3.HTTP is stateless (state-independent): Requests and responses are only known to each other in the current connection, and once disconnected, they are not recognized. Because of this stateless nature, neither the client nor the server can save information about different requests in the Web pageBasic architecture for HTTP (Hypertext Transfer Protocol):
HTTP is a request-response protocol based on B/s architecture, in a Web browser, a search engine is like an HTTP client, and a Web service-side component like a servlet is like a server.
Servlet-http Hypertext Transfer Protocol