Servlet implementation of HTTP communication foundation

1. The client sends an HTTP message

HTTP protocol is based on TCP / UDP protocol and encapsulates the details of socket communication (TCP / UDP needs to be used), that is, the client sends HTTP messages to the servlet through the HTTP client that implements TCP or UDP socket communication.

Image: temporarily not supported

2. Servlet processing message

The httpservlet starts the socketserver

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>