Package org.apache.http.impl.cookie
Class BasicExpiresHandler
- java.lang.Object
-
- org.apache.http.impl.cookie.AbstractCookieAttributeHandler
-
- org.apache.http.impl.cookie.BasicExpiresHandler
-
- All Implemented Interfaces:
CookieAttributeHandler
@Immutable public class BasicExpiresHandler extends AbstractCookieAttributeHandler
- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description BasicExpiresHandler(java.lang.String[] datepatterns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidparse(SetCookie cookie, java.lang.String value)Parse the given cookie attribute value and update the correspondingCookieproperty.-
Methods inherited from class org.apache.http.impl.cookie.AbstractCookieAttributeHandler
match, validate
-
-
-
-
Method Detail
-
parse
public void parse(SetCookie cookie, java.lang.String value) throws MalformedCookieException
Description copied from interface:CookieAttributeHandlerParse the given cookie attribute value and update the correspondingCookieproperty.- Parameters:
cookie-Cookieto be updatedvalue- cookie attribute value from the cookie response header- Throws:
MalformedCookieException
-
-