Methods in javax.servlet.http that return HttpSession |
HttpSession |
HttpSessionBindingEvent.getSession()
Returns the session to or from which the object is
bound or unbound. |
HttpSession |
HttpSessionContext.getSession(java.lang.String sessionId)
Deprecated. As of Java Servlet API 2.1 with
no replacement. This method must
return null and will be removed in
a future version of this API. |
HttpSession |
HttpServletRequest.getSession(boolean create)
Returns the current HttpSession
associated with this request or, if if there is no
current session and create is true, returns
a new session. |
HttpSession |
HttpServletRequest.getSession()
Returns the current session associated with this request,
or if the request does not have a session, creates one. |