Android
org.apache.http.cookie
public interface

org.apache.http.cookie.SetCookie2

org.apache.http.cookie.SetCookie2 SetCookie

This interface represents a SetCookie2 response header sent by the origin server to the HTTP agent in order to maintain a conversational state.

Summary

Public Methods

          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.Cookie
Methods inherited from interface org.apache.http.cookie.SetCookie

Details

Public Methods

public 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.

public void setDiscard(boolean discard)

Set the Discard attribute. Note: Discard attribute overrides Max-age.

See Also

public void setPorts(int[] ports)

Sets the Port attribute. It restricts the ports to which a cookie may be returned in a Cookie request header.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48