javax.servlet.http
Interface HttpSessionContext
- public interface HttpSessionContext
Contains information shared by all the HttpSessions.
- Since:
- Servlet API 2.0
- Version:
- Servlet API 2.0
- See Also:
HttpSessionContext
Method Summary |
java.util.Enumeration |
getIds()
Get all sessions ids. |
HttpSession |
getSession(java.lang.String id)
Get the session with the given id. |
getSession
public HttpSession getSession(java.lang.String id)
- Get the session with the given id.
- Parameters:
id
- the id of the HttpSession we're looking for.- Returns:
- The HttpSession we're looking for, null if not present.
- Since:
- Servlet API 2.0
getIds
public java.util.Enumeration getIds()
- Get all sessions ids.
- Returns:
- an Enumeration containing all session id's.
- Since:
- Servlet API 2.0