Class HttpSessionContextImpl

  • All Implemented Interfaces:
    javax.servlet.http.HttpSessionContext

    public class HttpSessionContextImpl
    extends Base
    implements javax.servlet.http.HttpSessionContext
    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.
    HttpSessionContext implementation. This implementation does nothing, as specified by Servlet 2.1 and later.
    Version:
    Coherence 3.4.1
    Author:
    jh 2008.10.15
    • Constructor Detail

      • HttpSessionContextImpl

        public HttpSessionContextImpl​(SessionHelper helper,
                                      boolean fStrict)
        Deprecated.
        Construct an HttpSessionContext implementation.
        Parameters:
        helper - the SessionHelper object for this application
        fStrict - true to enforce the deprecation; false to allow session enumeration
    • Method Detail

      • getIds

        public Enumeration 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.
        This method does nothing.
        Specified by:
        getIds in interface javax.servlet.http.HttpSessionContext
        Returns:
        an Enumeration of zero elements
      • getSession

        public javax.servlet.http.HttpSession getSession​(String sId)
        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.
        This method does nothing.
        Specified by:
        getSession in interface javax.servlet.http.HttpSessionContext
        Parameters:
        sId - an HttpSession id
        Returns:
        always returns null
      • toString

        public String toString()
        Deprecated.
        Returns a string representation of the object.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object
      • getDescription

        protected String getDescription()
        Deprecated.
        Returns a string representation of this object's attributes.
        Returns:
        a string representation of this object's attributes
      • getSessionHelper

        protected SessionHelper getSessionHelper()
        Deprecated.
        Get the SessionHelper for this ServletContext wrapper.
        Returns:
        the SessionHelper for this ServletContext wrapper
      • isStrict

        protected boolean isStrict()
        Deprecated.
        Determine if the context strictly enforce the Servlet spec (deprecates this interface).
        Returns:
        true if the context strictly enforce the Servlet spec; false means that the context will implement the deprecated functionality