@Immutable public class BasicExpiresHandler extends AbstractCookieAttributeHandler implements CommonCookieAttributeHandler
| Constructor and Description |
|---|
BasicExpiresHandler(java.lang.String[] datepatterns) |
| 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatch, validatepublic void parse(SetCookie cookie, java.lang.String value) throws MalformedCookieException
CookieAttributeHandlerCookie property.parse in interface CookieAttributeHandlercookie - Cookie to be updatedvalue - cookie attribute value from the cookie response headerMalformedCookieExceptionpublic java.lang.String getAttributeName()
getAttributeName in interface CommonCookieAttributeHandler