@Immutable public class BasicExpiresHandler extends AbstractCookieAttributeHandler
Constructor and Description |
---|
BasicExpiresHandler(String[] datepatterns) |
Modifier and Type | Method and Description |
---|---|
void |
parse(SetCookie cookie,
String value)
Parse the given cookie attribute value and update the corresponding
Cookie property. |
match, validate
public BasicExpiresHandler(String[] datepatterns)
public void parse(SetCookie cookie, String value) throws MalformedCookieException
CookieAttributeHandler
Cookie
property.cookie
- Cookie
to be updatedvalue
- cookie attribute value from the cookie response headerMalformedCookieException
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.