|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpCookieList
public class HttpCookieList
Field Summary |
---|
Fields inherited from class org.w3c.www.http.BasicValue |
---|
isValid, raw, rlen, roff |
Constructor Summary | |
---|---|
HttpCookieList()
|
Method Summary | |
---|---|
HttpCookie |
addCookie(java.lang.String name,
java.lang.String value)
Add a cookie to this header value. |
protected void |
deprecatedParse()
parse. |
protected void |
deprecatedUpdateByteValue()
|
HttpCookie |
getCookie(java.lang.String name)
Lookup a cookie by name. |
HttpCookie[] |
getCookies()
|
java.lang.Object |
getValue()
Get this HTTP value, parsed value. |
protected void |
parse()
parse the Cookie Header according to the Netscape Specification: http://www.netscape.com/newsref/std/cookie_spec.html |
boolean |
removeCookie(java.lang.String name)
Remove a cookie from this header value. |
protected void |
updateByteValue()
Update the RFC822 compatible header value for this object. |
Methods inherited from class org.w3c.www.http.BasicValue |
---|
addBytes, appendValue, checkByteValue, clone, emit, error, invalidateByteValue, setBytes, setString, toExternalForm, toString, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpCookieList()
Method Detail |
---|
protected void updateByteValue()
BasicValue
updateByteValue
in class BasicValue
protected void deprecatedUpdateByteValue()
protected void parse() throws HttpParserException
parse
in class BasicValue
HttpParserException
- if parsing failed.protected void deprecatedParse() throws HttpParserException
HttpParserException
- if parsing failed.public java.lang.Object getValue()
getValue
in interface HeaderValue
getValue
in class BasicValue
public HttpCookie addCookie(java.lang.String name, java.lang.String value)
name
- The name of the cookie to add.value
- It's value.
public boolean removeCookie(java.lang.String name)
name
- The name of the cookie to remove.
public HttpCookie getCookie(java.lang.String name)
name
- The name of the cooie to lookup.
public HttpCookie[] getCookies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |