Class Cookie

java.lang.Object
jakarta.servlet.http.Cookie
de.uplanet.lucy.server.connector.Cookie
All Implemented Interfaces:
de.uplanet.net.http.ICookie, Serializable, Cloneable

public final class Cookie extends jakarta.servlet.http.Cookie implements de.uplanet.net.http.ICookie
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cookie(String p_strName, String p_strValue)
    Create a cookie with the given name and value.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Deprecated.
    Use Cookie.getSecure() instead.
    void
    setSameSite(String p_strSameSite)
     
    void
    setVersion(int p_iVersion)
    Deprecated.

    Methods inherited from class jakarta.servlet.http.Cookie

    clone, equals, getAttribute, getAttributes, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, hashCode, isHttpOnly, setAttribute, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.uplanet.net.http.ICookie

    getComment, getDomain, getMaxAge, getName, getPath, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue
  • Constructor Details

  • Method Details

    • setVersion

      @Deprecated public void setVersion(int p_iVersion)
      Deprecated.
      Specified by:
      setVersion in interface de.uplanet.net.http.ICookie
      Overrides:
      setVersion in class jakarta.servlet.http.Cookie
    • isSecure

      @Deprecated public boolean isSecure()
      Deprecated.
      Use Cookie.getSecure() instead.
      Specified by:
      isSecure in interface de.uplanet.net.http.ICookie
    • getSameSite

      public String getSameSite()
      Specified by:
      getSameSite in interface de.uplanet.net.http.ICookie
    • setSameSite

      public void setSameSite(String p_strSameSite)
      Specified by:
      setSameSite in interface de.uplanet.net.http.ICookie