|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.cookie.AbstractCookieAttributeHandler
org.apache.http.impl.cookie.RFC2109VersionHandler
@Immutable public class RFC2109VersionHandler
Constructor Summary | |
---|---|
RFC2109VersionHandler()
|
Method Summary | |
---|---|
void |
parse(SetCookie cookie,
java.lang.String value)
Parse the given cookie attribute value and update the corresponding Cookie property. |
void |
validate(Cookie cookie,
CookieOrigin origin)
Peforms cookie validation for the given attribute value. |
Methods inherited from class org.apache.http.impl.cookie.AbstractCookieAttributeHandler |
---|
match |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RFC2109VersionHandler()
Method Detail |
---|
public void parse(SetCookie cookie, java.lang.String value) throws MalformedCookieException
CookieAttributeHandler
Cookie
property.
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response header
MalformedCookieException
public void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException
CookieAttributeHandler
validate
in interface CookieAttributeHandler
validate
in class AbstractCookieAttributeHandler
cookie
- Cookie
to validateorigin
- the cookie source to validate against
MalformedCookieException
- if cookie validation fails for this attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |