Class Cookie

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

public final class Cookie extends javax.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)
     

    Methods inherited from class javax.servlet.http.Cookie

    clone, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, 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

      public void setVersion(int p_iVersion)
      Specified by:
      setVersion in interface de.uplanet.net.http.ICookie
      Overrides:
      setVersion in class javax.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