|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.http.HttpCookie
public class HttpCookie
Field Summary | |
---|---|
protected java.lang.String |
domain
The domain in which this cookie applies. |
protected java.lang.String |
name
This cookie's name. |
protected java.lang.String |
path
The path in which this cookie applies. |
protected boolean |
secure
Set the security flag |
protected java.lang.String |
value
This cookie's value. |
protected int |
version
Set this cookie's version. |
Constructor Summary | |
---|---|
HttpCookie()
|
Method Summary | |
---|---|
java.lang.String |
getDomain()
Get the domain in which this cookie applies. |
java.lang.String |
getName()
Get this cookie's name. |
java.lang.String |
getPath()
Get the path to which this cookie applies. |
boolean |
getSecurity()
Get the security flag |
java.lang.String |
getValue()
Get this cookie's value. |
int |
getVersion()
Get this cookie's version. |
void |
setDomain(java.lang.String domain)
Set the domain in which this cookie applies. |
void |
setName(java.lang.String name)
Set this cookie's name. |
void |
setPath(java.lang.String path)
Set the path in which this cookie applies. |
void |
setSecurity(boolean secure)
|
void |
setValue(java.lang.String value)
Set this cookie's value. |
void |
setVersion(int version)
Set this cookie's version. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String path
protected java.lang.String domain
protected java.lang.String value
protected java.lang.String name
protected int version
protected boolean secure
Constructor Detail |
---|
public HttpCookie()
Method Detail |
---|
public boolean getSecurity()
public void setSecurity(boolean secure)
public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- The path to which this cookie applies, or null
to reset it.public java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain
- The domain in which the cookie applies, or
null to reset it.public int getVersion()
public void setVersion(int version)
version
- An integer indicating the version of this cookie.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The cookie's name, or null to reset the
value.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The String encoded value, or null to
reset the value.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |