Chapter 4. HANDLING THE CLIENT REQUEST: HTTP REQUEST HEADERS

Topics in This Chapter

  • Reading HTTP request headers from servlets

  • Building a table of all the request headers

  • The purpose of each of the HTTP 1.1 request headers

  • Reducing download times by compressing pages

  • Restricting access with password-protected servlets

One of the keys to creating effective servlets is understanding how to manipulate the HyperText Transfer Protocol (HTTP). Getting a thorough grasp of this protocol is not an esoteric, theoretical topic, but rather a practical issue that can have an immediate impact on the performance and usability of your servlets. This chapter discusses the HTTP information that is sent from the browser to the server in the form of request headers. ...

Get Core Servlets and JavaServer Pages™ 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.