All Packages Class Hierarchy This Package Previous Next Index
Interface javax.servlet.http.HttpSessionContext
- public interface HttpSessionContext
Note: HttpSessionContext is deprecated.
The HttpSessionContext class has been deprecated for security
reasons. It will be removed in a future version of the Servlet API.
A HttpSessionContext is a grouping of HttpSessions associated with a single
entity. This interface gives servlets access to
methods for listing the IDs and for retrieving a session based on its ID.
Servlets get the HttpSessionContext object by calling the
getSessionContext() method of HttpSession.
- See Also:
- HttpSession
-
getIds()
- This method is deprecated and retained only for binary compatibility.
Deprecated.
-
getSession(String)
- This method is deprecated and retained only for binary compatibility.
Deprecated.
getSession
public abstract HttpSession getSession(String sessionId)
- Note: getSession() is deprecated.
This method has been deprecated for security reasons.
It will be removed in a future version of the Servlet API.
- This method is deprecated and retained only for binary compatibility.
It must always return null.
getIds
public abstract Enumeration getIds()
- Note: getIds() is deprecated.
This method has been deprecated for security reasons.
It will be removed in a future version of the Servlet API.
- This method is deprecated and retained only for binary compatibility.
It must always return an empty enumeration.
All Packages Class Hierarchy This Package Previous Next Index