JSP v1.1 and Servlet v2.2 API Reference: Uses of Interface javax.servlet.http.HttpSession

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.servlet.http.HttpSession

Packages that use HttpSession
javax.servlet.http |
javax.servlet.jsp |

Uses of HttpSession in javax.servlet.http

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.

Constructors in javax.servlet.http with parameters of type HttpSession
`HttpSessionBindingEvent.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.

Uses of HttpSession in javax.servlet.jsp

Methods in javax.servlet.jsp that return HttpSession
`abstract HttpSession` | `PageContext.getSession()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES