Package | Description |
---|---|
javax.servlet.http | |
javax.servlet.jsp |
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 current
HttpSession
associated with this request or, if if there is no
current session and create is true, returns
a new session. |
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.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
abstract HttpSession |
PageContext.getSession() |
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.