9.1. Overview

The HyperText Transfer Protocol (HTTP) is perhaps the most prolific network application protocol in the short history of the Internet. With the possible exception of e-mail, HTTP has changed the face of the Internet more profoundly than any other protocol. Without HTTP, there would be no World Wide Web, no electronic commerce as we know it today, nor the rapid, phenomenal growth of Internet usage.

In previous chapters, we examined HTTP as an application protocol and constructed a simple Web server that serves up Web pages. In this chapter, we'll look at the protocol in greater detail, and how it can be used in Java.

9.1.1. What Is HTTP?

HTTP is an application-level protocol that uses the Transmission Control Protocol (TCP) as a ...

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.