Module jakarta.servlet
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.
-
ClassDescriptionCreates 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.Provides an abstract class to be subclassed to create an HTTP filter suitable for a Web site.Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.Allows runtime discovery of the manner in which the
HttpServlet
for the currentHttpServletRequest
was invoked.Extends theServletRequest
interface to provide request information for HTTP servlets.Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.Extends theServletResponse
interface to provide HTTP-specific functionality in sending a response.Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.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.An accessor for applications to interact with aHttpSession
outside of the scope of an HTTP request.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.Interface for receiving notification events about HttpSession attribute changes.Events of this type are either sent to an object that implementsHttpSessionBindingListener
when it is bound or unbound from a session, or to anHttpSessionAttributeListener
that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.Causes an object to be notified when it is bound to or unbound from a session.This is the class representing event notifications for changes to sessions within a web application.Interface for receiving notification events about HttpSession id changes.Interface for receiving notification events about HttpSession lifecycle changes.This interface encapsulates the upgrade protocol processing.Enumeration of Servlet mapping types.This class represents a part or form item that was received within amultipart/form-data
POST request.Deprecated.In favor of 103 early hintsThis interface encapsulates the connection for an upgrade request.