| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SetCookie2
This interface represents a Set-Cookie2 response header sent by the
 origin server to the HTTP agent in order to maintain a conversational state.
 
Please do not use methods marked as @Obsolete. They have been rendered obsolete by RFC 6265
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from interface org.apache.http.cookie.SetCookie | 
|---|
| setComment, setDomain, setExpiryDate, setPath, setSecure, setValue, setVersion | 
| Methods inherited from interface org.apache.http.cookie.Cookie | 
|---|
| getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure | 
| Method Detail | 
|---|
@Obsolete void setCommentURL(String commentURL)
@Obsolete void setPorts(int[] ports)
@Obsolete void setDiscard(boolean discard)
Discard attribute overrides Max-age.
Cookie.isPersistent()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||