|
||||||||||
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.BasicSecureHandler
public class BasicSecureHandler
Constructor Summary | |
---|---|
BasicSecureHandler()
|
Method Summary | |
---|---|
boolean |
match(Cookie cookie,
CookieOrigin origin)
Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute. |
void |
parse(SetCookie cookie,
java.lang.String value)
Parse the given cookie attribute value and update the corresponding Cookie property. |
Methods inherited from class org.apache.http.impl.cookie.AbstractCookieAttributeHandler |
---|
validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicSecureHandler()
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 boolean match(Cookie cookie, CookieOrigin origin)
CookieAttributeHandler
match
in interface CookieAttributeHandler
match
in class AbstractCookieAttributeHandler
cookie
- Cookie
to matchorigin
- the cookie source to match against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |