jakarta.servlet.http (Servlet 6.0 API Documentation - Apache Tomcat 10.1.48)
Description: declaration: package: jakarta.servlet.http

# Package jakarta.servlet.http

package jakarta.servlet.http
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.

- Related Packages
  Package
  Description
  jakarta.servlet
  The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
  jakarta.servlet.annotation
  jakarta.servlet.descriptor
- Class
  Description
  Cookie
  Creates a cookie, a small amount of information sent by a servlet to a Web browser, saved by the browser, and later sent back to the server.
  HttpFilter
  Provides a base class that implements the Filter interface and ensures that the Request and Response are of type HttpServletRequest and HttpServletResponse respectively.
  HttpServlet
  Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.
  HttpServletMapping
  Represents how the request from which this object was obtained was mapped to the associated servlet.
  HttpServletRequest
  Extends the `ServletRequest` interface to provide request information for HTTP servlets.
  HttpServletRequestWrapper
  Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
  HttpServletResponse
  Extends the `ServletResponse` interface to provide HTTP-specific functionality in sending a response.
  HttpServletResponseWrapper
  Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.
  HttpSession
  Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
  HttpSessionActivationListener
  Objects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated.
  HttpSessionAttributeListener
  This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.
  HttpSessionBindingEvent
  Events of this type are either sent to an object that implements `HttpSessionBindingListener` when it is bound or unbound from a session, or to an `HttpSessionAttributeListener` that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.
  HttpSessionBindingListener
  Causes an object to be notified when it is bound to or unbound from a session.
  HttpSessionEvent
  This is the class representing event notifications for changes to sessions within a web application.
  HttpSessionIdListener
  Implementations of this interface are notified when an `HttpSession`'s ID changes.
  HttpSessionListener
  Implementations of this interface are notified of changes to the list of active sessions in a web application.
  HttpUpgradeHandler
  Interface between the HTTP upgrade process and the new protocol.
  MappingMatch
  Represents the ways that a request can be mapped to a servlet
  Part
  This class represents a part as uploaded to the server as part of a `multipart/form-data` request body.
  PushBuilder
  Builds a push request based on the `HttpServletRequest` from which this builder was obtained.
  WebConnection
  The interface used by an `HttpUpgradeHandler` to interact with an upgraded HTTP connection.