javax.servlet.http

Interface HttpSessionContext

public interface HttpSessionContext

Contains information shared by all the HttpSessions.
Since:
Servlet API 2.0
See Also:
HttpSessionContext

Method Summary

Enumeration
getIds()
Deprecated. This method should always return an empty enumeration
HttpSession
getSession(String id)
Deprecated. This method should always return null

Method Details

getIds

public Enumeration getIds()

Deprecated. This method should always return an empty enumeration

Get all sessions ids.
Returns:
an Enumeration containing all session id's.
Since:
Servlet API 2.0

getSession

public HttpSession getSession(String id)

Deprecated. This method should always return null

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