Uses of Interface
jakarta.servlet.http.HttpSession
-
Packages that use HttpSession Package Description 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.jakarta.servlet.jsp org.apache.jasper.runtime -
-
Uses of HttpSession in jakarta.servlet.http
Methods in jakarta.servlet.http that return HttpSession Modifier and Type Method Description HttpSessionHttpServletRequest. getSession()Returns the current session associated with this request, or if the request does not have a session, creates one.HttpSessionHttpServletRequest. getSession(boolean create)Returns the currentHttpSessionassociated with this request or, if there is no current session andcreateis true, returns a new session.HttpSessionHttpServletRequestWrapper. getSession()The default behavior of this method is to return getSession() on the wrapped request object.HttpSessionHttpServletRequestWrapper. getSession(boolean create)The default behavior of this method is to return getSession(boolean create) on the wrapped request object.HttpSessionHttpSessionBindingEvent. getSession()Get the session that changed.HttpSessionHttpSessionContext. getSession(java.lang.String sessionId)Deprecated.As of Java Servlet API 2.1 with no replacement.HttpSessionHttpSessionEvent. getSession()Get the session that changed.Constructors in jakarta.servlet.http with parameters of type HttpSession Constructor Description HttpSessionBindingEvent(HttpSession session, java.lang.String name)Constructs an event that notifies an object that it has been bound to or unbound from a session.HttpSessionBindingEvent(HttpSession session, java.lang.String name, java.lang.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
Methods in jakarta.servlet.jsp that return HttpSession Modifier and Type Method Description abstract HttpSessionPageContext. getSession()The current value of the session object (an HttpSession). -
Uses of HttpSession in org.apache.jasper.runtime
Methods in org.apache.jasper.runtime that return HttpSession Modifier and Type Method Description HttpSessionJspContextWrapper. getSession()HttpSessionPageContextImpl. getSession()
-