Methods in javax.servlet.http that return HttpSession |
HttpSession |
HttpServletRequest.getSession(boolean create)
Returns the current HttpSession
associated with this request or, if necessary, creates
a new session for the request. |
HttpSession |
HttpServletRequest.getSession()
Returns the current session associated with this request,
or if the request does not have a session, creates one. |
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. |