Class DefaultCookie

java.lang.Object
io.sf.carte.doc.agent.DefaultCookie
All Implemented Interfaces:
Cookie, Serializable, Cloneable

@Deprecated(forRemoval=true) public class DefaultCookie extends Object implements Cookie, Serializable, Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Default Cookie implementation.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    DefaultCookie(String name, String value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    DefaultCookie(String name, String value, long creationTime)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setComment(String comment)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCreationTime(long time)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDomain(String domain)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setExpiryTime(long expiryTime)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DefaultCookie

      public DefaultCookie()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DefaultCookie

      public DefaultCookie(String name, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DefaultCookie

      public DefaultCookie(String name, String value, long creationTime)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getDomain

      public String getDomain()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDomain in interface Cookie
    • setDomain

      public void setDomain(String domain)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setDomain in interface Cookie
    • getPath

      public String getPath()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPath in interface Cookie
    • setPath

      public void setPath(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setPath in interface Cookie
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getName in interface Cookie
    • setName

      public void setName(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setName in interface Cookie
    • getValue

      public String getValue()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getValue in interface Cookie
    • setValue

      public void setValue(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setValue in interface Cookie
    • getCreationTime

      public long getCreationTime()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getCreationTime in interface Cookie
      Returns:
      the creation time
    • setCreationTime

      public void setCreationTime(long time)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setCreationTime in interface Cookie
    • getExpiryTime

      public long getExpiryTime()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getExpiryTime in interface Cookie
    • setExpiryTime

      public void setExpiryTime(long expiryTime)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setExpiryTime in interface Cookie
    • getComment

      public String getComment()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getComment in interface Cookie
    • setComment

      public void setComment(String comment)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setComment in interface Cookie
    • isSecure

      public boolean isSecure()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isSecure in interface Cookie
    • setSecure

      public void setSecure()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setSecure in interface Cookie
    • isPersistent

      public boolean isPersistent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isPersistent in interface Cookie
    • setHttpOnly

      public void setHttpOnly()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setHttpOnly in interface Cookie
    • isHttpOnly

      public boolean isHttpOnly()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isHttpOnly in interface Cookie
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • clone

      public DefaultCookie clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class Object