Example usage for Java org.apache.http.impl.cookie BasicClientCookie2 fields, constructors, methods, implement or subclass
The text is from its open source code.
BasicClientCookie2(final String name, final String value) Default Constructor taking a name and a value. |
Class> | getClass() Returns the runtime class of this Object . |
void | setComment(final 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 | setCommentURL(final String commentURL) |
void | setDiscard(final boolean discard) |
void | setDomain(final String domain) Sets the domain attribute. |
void | setExpiryDate(final Date expiryDate) Sets expiration date. |
void | setPath(final String path) Sets the path attribute. |
void | setPorts(final int[] ports) |
void | setSecure(final boolean secure) Sets the secure attribute of the cookie. |
void | setVersion(final int version) Sets the version of the cookie specification to which this cookie conforms. |