Top Methods
javax.servlet.http

public Interface HttpSessionContext

Annotations
@Deprecated
Imports
java.util.Enumeration

Deprecated

As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API.

Author
Various
See Also
HttpSession, HttpSessionBindingEvent, HttpSessionBindingListener

Method Summary

Modifier and TypeMethod and Description
public Enumeration<String>

Returns:

null
getIds
()

Deprecated As of Java Servlet API 2.1 with no replacement. This method must return an empty Enumeration and will be removed in a future version of this API.
public HttpSession

Returns:

null in all cases
getSession
(String
the id of the session to be returned
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.

Method Detail

getIdsback to summary
public Enumeration<String> getIds()

Deprecated

As of Java Servlet API 2.1 with no replacement. This method must return an empty Enumeration and will be removed in a future version of this API.

Returns:Enumeration<String>

null

Annotations
@Deprecated
getSessionback to summary
public HttpSession getSession(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.

Parameters
sessionId:String

the id of the session to be returned

Returns:HttpSession

null in all cases

Annotations
@Deprecated