B.4. javax.servlet.http Interfaces and Classes

The javax.servlet.http package allows a convenient way for developers to create servlets that are to be used specifically for the HTTP protocol. Session tracking, access to cookies, and methods for processing a variety of HTTP request types are made available here.

B.4.1. javax.servlet.http Interfaces

B.4.1.1. HttpServletRequest
public abstract interface HttpServletRequest 
extends Servlet

HttpServletRequest extends the ServletRequest interface to provide information to servlets regarding HTTP requests. The servlet container creates an HttpServletRequest object and passes it as an argument to the servlet's service methods, such as doGet() and doPost().

The following fields are made available; each ...

Get Java™ for ColdFusion® Developers 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.