| Package | Description |
|---|---|
| jakarta.servlet.http | |
| jakarta.servlet.jsp | |
| org.apache.jasper.runtime |
| Modifier and Type | Method and Description |
|---|---|
HttpSession |
HttpServletRequestWrapper.getSession()
The default behavior of this method is to return getSession() on the
wrapped request object.
|
HttpSession |
HttpSessionBindingEvent.getSession()
Get the session that changed.
|
HttpSession |
HttpServletRequest.getSession()
Returns the current session associated with this request, or if the
request does not have a session, creates one.
|
HttpSession |
HttpSessionEvent.getSession()
Get the session that changed.
|
HttpSession |
HttpServletRequestWrapper.getSession(boolean create)
The default behavior of this method is to return getSession(boolean
create) on the wrapped request object.
|
HttpSession |
HttpServletRequest.getSession(boolean create)
Returns the current
HttpSession associated with this request
or, if there is no current session and create is true,
returns a new session. |
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.
|
| Constructor and 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.
|
HttpSessionBindingEvent(HttpSession session,
java.lang.String name,
java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract HttpSession |
PageContext.getSession()
The current value of the session object (an HttpSession).
|
| Modifier and Type | Method and Description |
|---|---|
HttpSession |
PageContextImpl.getSession() |
HttpSession |
JspContextWrapper.getSession() |
Copyright © 2014–2021. All rights reserved.