Example usage for Java org.apache.http.cookie SetCookie fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getDomain() Returns domain attribute of the cookie. |
String | getName() Returns the name. |
String | getPath() Returns the path attribute of the cookie. |
int[] | getPorts() Get the Port attribute. |
String | getValue() Returns the value. |
boolean | isExpired(final Date date) Returns true if this cookie has expired. |
boolean | isPersistent() Returns false if the cookie should be discarded at the end of the "session"; true otherwise. |
void | setComment(String comment) If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment. |
void | setDomain(String domain) Sets the domain attribute. |
void | setExpiryDate(Date expiryDate) Sets expiration date. |
void | setPath(String path) Sets the path attribute. |
void | setSecure(boolean secure) Sets the secure attribute of the cookie. |
void | setVersion(int version) Sets the version of the cookie specification to which this cookie conforms. |