| java.lang.Object org.w3c.www.http.HttpCookie
HttpCookie | public class HttpCookie (Code) | | |
Field Summary | |
protected String | domain The domain in which this cookie applies. | protected String | name This cookie's name. | protected String | path The path in which this cookie applies. | protected boolean | secure | protected String | value This cookie's value. | protected int | version Set this cookie's version. |
domain | protected String domain(Code) | | The domain in which this cookie applies.
|
path | protected String path(Code) | | The path in which this cookie applies.
|
secure | protected boolean secure(Code) | | Set the security flag
|
version | protected int version(Code) | | Set this cookie's version.
|
HttpCookie | public HttpCookie()(Code) | | |
getDomain | public String getDomain()(Code) | | Get the domain in which this cookie applies.
The domain in which this cookie applies, encoded as a String,or null if undefined. |
getName | public String getName()(Code) | | Get this cookie's name.
The name of the cookie, or null if undefined. |
getPath | public String getPath()(Code) | | Get the path to which this cookie applies.
The path encoded as a String, or null if notdefined. |
getSecurity | public boolean getSecurity()(Code) | | Get the security flag
true if it's a secured cookie |
getValue | public String getValue()(Code) | | Get this cookie's value.
The value, encoded as a String, or nullM ifno value defined. |
getVersion | public int getVersion()(Code) | | Get this cookie's version.
An integer, giving the cookie's version. |
setDomain | public void setDomain(String domain)(Code) | | Set the domain in which this cookie applies.
Parameters: domain - The domain in which the cookie applies, or null to reset it. |
setName | public void setName(String name)(Code) | | Set this cookie's name.
Parameters: name - The cookie's name, or null to reset thevalue. |
setPath | public void setPath(String path)(Code) | | Set the path in which this cookie applies.
Parameters: path - The path to which this cookie applies, or null to reset it. |
setSecurity | public void setSecurity(boolean secure)(Code) | | |
setValue | public void setValue(String value)(Code) | | Set this cookie's value.
Parameters: value - The String encoded value, or null toreset the value. |
setVersion | public void setVersion(int version)(Code) | | Set this cookie's version.
Parameters: version - An integer indicating the version of this cookie. |
|
|