@Immutable public class LaxExpiresHandler extends AbstractCookieAttributeHandler implements CommonCookieAttributeHandler
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.TimeZone |
UTC |
Constructor and Description |
---|
LaxExpiresHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName() |
void |
parse(SetCookie cookie,
java.lang.String value)
Parse the given cookie attribute value and update the corresponding
Cookie property. |
match, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match, validate
public void parse(SetCookie cookie, java.lang.String value) throws MalformedCookieException
CookieAttributeHandler
Cookie
property.parse
in interface CookieAttributeHandler
cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
public java.lang.String getAttributeName()
getAttributeName
in interface CommonCookieAttributeHandler