Uses of Interface
javax.servlet.http.HttpSession
-
Packages that use HttpSession Package Description javax.servlet.http The javax.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. -
-
Uses of HttpSession in javax.servlet.http
Methods in javax.servlet.http that return HttpSession Modifier and Type Method Description HttpSession
HttpServletRequest. getSession()
Returns the current session associated with this request, or if the request does not have a session, creates one.HttpSession
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.HttpSession
HttpServletRequestWrapper. getSession()
The default behavior of this method is to return getSession() on the wrapped request object.HttpSession
HttpServletRequestWrapper. getSession(boolean create)
The default behavior of this method is to return getSession(boolean create) on the wrapped request object.HttpSession
HttpSessionBindingEvent. getSession()
Return the session that changed.HttpSession
HttpSessionContext. getSession(String sessionId)
Deprecated.As of Java Servlet API 2.1 with no replacement.HttpSession
HttpSessionEvent. getSession()
Return the session that changed.Constructors in javax.servlet.http with parameters of type HttpSession Constructor Description HttpSessionBindingEvent(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.
-