FileDocCategorySizeDatePackage
SetCookie2.javaAPI DocAndroid 1.5 API2350Wed May 06 22:41:10 BST 2009org.apache.http.cookie

SetCookie2

public interface SetCookie2 implements SetCookie
This interface represents a SetCookie2 response header sent by the origin server to the HTTP agent in order to maintain a conversational state.
author
Oleg Kalnichevski
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public voidsetCommentURL(java.lang.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.

public voidsetDiscard(boolean discard)
Set the Discard attribute. Note: Discard attribute overrides Max-age.

see
#isPersistent()

public voidsetPorts(int[] ports)
Sets the Port attribute. It restricts the ports to which a cookie may be returned in a Cookie request header.