Class Cookie

All Implemented Interfaces:
Cloneable

public class Cookie extends NameValuePair
Doesn't yet support Cookie2.
  • Constructor Details

    • Cookie

      public Cookie()
  • Method Details

    • setComment

      public void setComment(String comment)
    • getComment

      public String getComment()
    • setDomain

      public void setDomain(String domain)
    • getDomain

      public String getDomain()
    • setMaxAge

      public void setMaxAge(int age)
    • getMaxAge

      public int getMaxAge()
    • setPath

      public void setPath(String path)
    • getPath

      public String getPath()
    • setSecure

      public void setSecure(boolean secure)
    • isSecure

      public boolean isSecure()
    • setVersion

      public void setVersion(int version)
    • getVersion

      public int getVersion()
    • toString

      public String toString()
      Overrides:
      toString in class NameValuePair
    • parseCookie

      public static Cookie parseCookie(String s) throws RuntimeException
      Throws:
      RuntimeException