Class SessionHandler.CookieConfig

java.lang.Object
org.eclipse.jetty.server.session.SessionHandler.CookieConfig
All Implemented Interfaces:
javax.servlet.SessionCookieConfig
Enclosing class:
SessionHandler

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

    • CookieConfig

      public CookieConfig()
  • Method Details

    • getComment

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

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

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

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

      public 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(String comment)
      Specified by:
      setComment in interface javax.servlet.SessionCookieConfig
    • setDomain

      public void setDomain(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(String name)
      Specified by:
      setName in interface javax.servlet.SessionCookieConfig
    • setPath

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

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