Class SessionHandler.CookieConfig

  • All Implemented Interfaces:
    SessionCookieConfig
    Enclosing class:
    SessionHandler

    @Deprecated(since="2021-05-27")
    public final class SessionHandler.CookieConfig
    extends java.lang.Object
    implements SessionCookieConfig
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    CookieConfig Implementation of the javax.servlet.SessionCookieConfig. SameSite configuration can be achieved by using setComment
    See Also:
    HttpCookie
    • Constructor Summary

      Constructors 
      Constructor Description
      CookieConfig()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getComment()
      Deprecated.
       
      java.lang.String getDomain()
      Deprecated.
       
      int getMaxAge()
      Deprecated.
       
      java.lang.String getName()
      Deprecated.
       
      java.lang.String getPath()
      Deprecated.
       
      boolean isHttpOnly()
      Deprecated.
       
      boolean isSecure()
      Deprecated.
       
      void setComment​(java.lang.String comment)
      Deprecated.
      Sets the comment for the session cookie
      void setDomain​(java.lang.String domain)
      Deprecated.
      Sets the domain for the session cookie
      void setHttpOnly​(boolean httpOnly)
      Deprecated.
      Sets the httpOnly flag for the session cookie.
      void setMaxAge​(int maxAge)
      Deprecated.
      Sets the maximum age.
      void setName​(java.lang.String name)
      Deprecated.
      Sets the session cookie name.
      void setPath​(java.lang.String path)
      Deprecated.
      Sets the path of the session cookie.
      void setSecure​(boolean secure)
      Deprecated.
      Sets the secure flag for the session cookie.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CookieConfig

        public CookieConfig()
        Deprecated.
    • Method Detail

      • setComment

        public void setComment​(java.lang.String comment)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the comment for the session cookie
        Specified by:
        setComment in interface SessionCookieConfig
        Parameters:
        comment - The session cookie comment
      • setDomain

        public void setDomain​(java.lang.String domain)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the domain for the session cookie
        Specified by:
        setDomain in interface SessionCookieConfig
        Parameters:
        domain - The session cookie domain
      • setHttpOnly

        public void setHttpOnly​(boolean httpOnly)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the httpOnly flag for the session cookie.
        Specified by:
        setHttpOnly in interface SessionCookieConfig
        Parameters:
        httpOnly - The httpOnly setting to use for session cookies
      • setMaxAge

        public void setMaxAge​(int maxAge)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the maximum age.
        Specified by:
        setMaxAge in interface SessionCookieConfig
        Parameters:
        maxAge - the maximum age to set
      • setName

        public void setName​(java.lang.String name)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the session cookie name.
        Specified by:
        setName in interface SessionCookieConfig
        Parameters:
        name - The name of the session cookie
      • setPath

        public void setPath​(java.lang.String path)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the path of the session cookie.
        Specified by:
        setPath in interface SessionCookieConfig
        Parameters:
        path - The session cookie path
      • setSecure

        public void setSecure​(boolean secure)
        Deprecated.
        Description copied from interface: SessionCookieConfig
        Sets the secure flag for the session cookie.
        Specified by:
        setSecure in interface SessionCookieConfig
        Parameters:
        secure - The secure setting to use for session cookies