Module java.base
Package java.net

# Class HttpCookie

=
public final class HttpCookie
extends java.lang.Object
implements java.lang.Cloneable

## Constructors

- =
  public HttpCookie(java.lang.String arg0, java.lang.String arg1)

## Methods

- =
  public java.lang.Object clone()
- =
  public static boolean domainMatches(java.lang.String arg0, java.lang.String arg1)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.lang.String getComment()
- =
  public java.lang.String getCommentURL()
- =
  public boolean getDiscard()
- =
  public java.lang.String getDomain()
- =
  public long getMaxAge()
- =
  public java.lang.String getName()
- =
  public java.lang.String getPath()
- =
  public java.lang.String getPortlist()
- =
  public boolean getSecure()
- =
  public java.lang.String getValue()
- =
  public int getVersion()
- =
  public boolean hasExpired()
- =
  public int hashCode()
- =
  public boolean isHttpOnly()
- =
  public static java.util.List<java.net.HttpCookie> parse(java.lang.String arg0)
- =
  public void setComment(java.lang.String arg0)
- =
  public void setCommentURL(java.lang.String arg0)
- =
  public void setDiscard(boolean arg0)
- =
  public void setDomain(java.lang.String arg0)
- =
  public void setHttpOnly(boolean arg0)
- =
  public void setMaxAge(long arg0)
- =
  public void setPath(java.lang.String arg0)
- =
  public void setPortlist(java.lang.String arg0)
- =
  public void setSecure(boolean arg0)
- =
  public void setValue(java.lang.String arg0)
- =
  public void setVersion(int arg0)
- =
  public java.lang.String toString()

## Summary

No differences.