Class SessionHandler.CookieConfig

  • All Implemented Interfaces:
    Enclosing class:

    public final class SessionHandler.CookieConfig
    extends java.lang.Object
    implements javax.servlet.SessionCookieConfig
    CookieConfig Implementation of the javax.servlet.SessionCookieConfig. SameSite configuration can be achieved by using setComment
    See Also:
    • Constructor Detail

      • CookieConfig

        public CookieConfig()
    • Method Detail

      • getComment

        public java.lang.String getComment()
        Specified by:
        getComment in interface javax.servlet.SessionCookieConfig
      • getDomain

        public java.lang.String getDomain()
        Specified by:
        getDomain in interface javax.servlet.SessionCookieConfig
      • getMaxAge

        public int getMaxAge()
        Specified by:
        getMaxAge in interface javax.servlet.SessionCookieConfig
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface javax.servlet.SessionCookieConfig
      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface javax.servlet.SessionCookieConfig
      • isHttpOnly

        public boolean isHttpOnly()
        Specified by:
        isHttpOnly in interface javax.servlet.SessionCookieConfig
      • isSecure

        public boolean isSecure()
        Specified by:
        isSecure in interface javax.servlet.SessionCookieConfig
      • setComment

        public void setComment​(java.lang.String comment)
        Specified by:
        setComment in interface javax.servlet.SessionCookieConfig
      • setDomain

        public void setDomain​(java.lang.String domain)
        Specified by:
        setDomain in interface javax.servlet.SessionCookieConfig
      • setHttpOnly

        public void setHttpOnly​(boolean httpOnly)
        Specified by:
        setHttpOnly in interface javax.servlet.SessionCookieConfig
      • setMaxAge

        public void setMaxAge​(int maxAge)
        Specified by:
        setMaxAge in interface javax.servlet.SessionCookieConfig
      • setName

        public void setName​(java.lang.String name)
        Specified by:
        setName in interface javax.servlet.SessionCookieConfig
      • setPath

        public void setPath​(java.lang.String path)
        Specified by:
        setPath in interface javax.servlet.SessionCookieConfig
      • setSecure

        public void setSecure​(boolean secure)
        Specified by:
        setSecure in interface javax.servlet.SessionCookieConfig