public interface SetCookie2 extends SetCookie
Set-Cookie2
response header sent by the
origin server to the HTTP agent in order to maintain a conversational state.Modifier and Type | Method and Description |
---|---|
void |
setCommentURL(String commentURL)
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described by the information at this URL.
|
void |
setDiscard(boolean discard)
Set the Discard attribute.
|
void |
setPorts(int[] ports)
Sets the Port attribute.
|
setComment, setDomain, setExpiryDate, setPath, setSecure, setValue, setVersion
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
void setCommentURL(String commentURL)
void setPorts(int[] ports)
void setDiscard(boolean discard)
Cookie.isPersistent()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.