@Immutable public class BasicExpiresHandler extends AbstractCookieAttributeHandler
| Constructor and Description |
|---|
BasicExpiresHandler(java.lang.String[] datepatterns) |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(SetCookie cookie,
java.lang.String value)
Parse the given cookie attribute value and update the corresponding
Cookie property. |
match, validatepublic void parse(SetCookie cookie, java.lang.String value) throws MalformedCookieException
CookieAttributeHandlerCookie property.cookie - Cookie to be updatedvalue - cookie attribute value from the cookie response headerMalformedCookieException