| java.lang.Object org.restlet.data.Parameter org.restlet.data.Cookie
All known Subclasses: org.restlet.data.CookieSetting,
Cookie | public class Cookie extends Parameter (Code) | | Cookie provided by a client.
author: Jerome Louvel (contact@noelios.com) |
Cookie | public Cookie()(Code) | | Constructor.
|
Cookie | public Cookie(int version, String name, String value)(Code) | | Constructor.
Parameters: version - The version number. Parameters: name - The name. Parameters: value - The value. |
Cookie | public Cookie(int version, String name, String value, String path, String domain)(Code) | | Constructor.
Parameters: version - The version number. Parameters: name - The name. Parameters: value - The value. Parameters: path - The validity path. Parameters: domain - The domain name. |
Cookie | public Cookie(String name, String value)(Code) | | Constructor.
Parameters: name - The name. Parameters: value - The value. |
getDomain | public String getDomain()(Code) | | Returns the domain name.
The domain name. |
getPath | public String getPath()(Code) | | Returns the validity path.
The validity path. |
getVersion | public int getVersion()(Code) | | Returns the cookie specification version.
The cookie specification version. |
hashCode | public int hashCode()(Code) | |
|
setDomain | public void setDomain(String domain)(Code) | | Sets the domain name.
Parameters: domain - The domain name. |
setPath | public void setPath(String path)(Code) | | Sets the validity path.
Parameters: path - The validity path. |
setVersion | public void setVersion(int version)(Code) | | Sets the cookie specification version.
Parameters: version - The cookie specification version. |
|
|