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.
Interface Summary Interface Description HttpServletMapping HttpServletRequestExtends the
ServletRequestinterface to provide request information for HTTP servlets.
ServletResponseinterface to provide HTTP-specific functionality in sending a response.
HttpSessionProvides 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. HttpSessionActivationListenerObjects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated. HttpSessionAttributeListenerInterface for receiving notification events about HttpSession attribute changes. HttpSessionBindingListenerCauses an object to be notified when it is bound to or unbound from a session. HttpSessionContext Deprecated.As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. HttpSessionIdListenerInterface for receiving notification events about HttpSession id changes. HttpSessionListenerInterface for receiving notification events about HttpSession lifecycle changes. HttpUpgradeHandlerThis interface encapsulates the upgrade protocol processing. PartThis class represents a part or form item that was received within a
PushBuilderBuild a request to be pushed. WebConnectionThis interface encapsulates the connection for an upgrade request.
Class Summary Class Description CookieCreates 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. HttpFilterProvides an abstract class to be subclassed to create an HTTP filter suitable for a Web site. HttpServletProvides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. HttpServletRequestWrapperProvides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet. HttpServletResponseWrapperProvides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet. HttpSessionBindingEvent HttpSessionEventThis is the class representing event notifications for changes to sessions within a web application. HttpUtils Deprecated.As of Java(tm) Servlet API 2.3.
Enum Summary Enum Description MappingMatchEnumeration of Servlet mapping types.