Name
Package javax.servlet.http
Synopsis
The javax.servlet.http
package supports the
development of servlets that use the HTTP protocol. The classes in
this package extend the basic servlet functionality to support various
HTTP specific features, including request and response headers,
different request methods, and cookies. The abstract
HttpServlet
class extends
javax.servlet.GenericServlet
and serves as the base
class for HTTP servlets. The HttpServletRequest
and
HttpServletResponse
allow additional interaction
with the client. Finally, since the HTTP protocol is inherently
stateless, the package also includes HttpSession
and some related classes to support session tracking.
Interfaces
HttpServletRequest
HttpServletResponse
HttpSession
HttpSessionContext
Events
HttpSessionEvent
HttpSessionBindingEvent
Event Listeners
HttpSessionActivationListener
HttpSessionAttributeListener
HttpSessionBindingListener
HttpSessionListener
Other Classes
Cookie
HttpServlet
HttpServletRequestWrapper
HttpServletResponseWrapper
HttpUtils
Get Java Enterprise in a Nutshell, Second Edition 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.