9.4. Summary

The HyperText Transfer Protocol (HTTP) is one of the most frequently used application protocols, and can be employed to access both static content (such as pages and files) and interactive content powered by scripts or servlets that use the Common Gateway Interface (CGI) for communication. Although the performance of simple tasks such as accessing the content of resources is relatively easy, HTTP is capable of complex and rich behavior. For example, additional functionality can be added to HTTP through the use of request and response fields, and more information can be obtained about a connection by examining status codes.

Chapter Highlights

In this chapter, you have learned:

  • About the general theory of HTTP clients and servers ...

Get Java™ Network Programming and Distributed Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.