Uses of Interface
jakarta.servlet.http.HttpSession
Package
Description
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.
Classes and interfaces related to the core tag library component of the Jakarta Standard Tag Library.
-
Uses of HttpSession in com.sun.faces.application
-
Uses of HttpSession in com.sun.faces.context
-
Uses of HttpSession in com.sun.faces.renderkit
Modifier and TypeMethodDescriptionstatic void
StateHelper.createAndStoreCryptographicallyStrongTokenInSession
(HttpSession session) -
Uses of HttpSession in jakarta.servlet.http
Modifier and TypeMethodDescriptionHttpServletRequest.getSession()
Returns the current session associated with this request, or if the request does not have a session, creates one.HttpServletRequest.getSession
(boolean create) Returns the currentHttpSession
associated with this request or, if there is no current session andcreate
is true, returns a new session.HttpServletRequestWrapper.getSession()
The default behavior of this method is to return getSession() on the wrapped request object.HttpServletRequestWrapper.getSession
(boolean create) The default behavior of this method is to return getSession(boolean create) on the wrapped request object.HttpSessionEvent.getSession()
Return the session that changed.Modifier and TypeMethodDescriptionvoid
HttpSession.Accessor.access
(Consumer<HttpSession> sessionConsumer) Call to access theHttpSession
used to obtain thisAccessor
from outside the scope of a HTTP request.ModifierConstructorDescriptionHttpSessionBindingEvent
(HttpSession session, String name) Constructs an event that notifies an object that it has been bound to or unbound from a session.HttpSessionBindingEvent
(HttpSession session, String name, Object value) Constructs an event that notifies an object that it has been bound to or unbound from a session.HttpSessionEvent
(HttpSession source) Construct a session event from the given source. -
Uses of HttpSession in jakarta.servlet.jsp
Modifier and TypeMethodDescriptionabstract HttpSession
PageContext.getSession()
The current value of the session object (an HttpSession). -
Uses of HttpSession in jakarta.servlet.jsp.jstl.core
Modifier and TypeMethodDescriptionstatic Object
Config.get
(HttpSession session, String name) Looks up a configuration variable in the "session" scope.static void
Config.remove
(HttpSession session, String name) Removes a configuration variable from the "session" scope.static void
Config.set
(HttpSession session, String name, Object value) Sets the value of a configuration variable in the "session" scope.