@Contract(threading=IMMUTABLE) public class LaxMaxAgeHandler extends AbstractCookieAttributeHandler implements CommonCookieAttributeHandler
| Constructor and Description |
|---|
LaxMaxAgeHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName() |
void |
parse(SetCookie cookie, String value)
解析给定的cookie属性值并更新相应的 Cookie属性。
|
match, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatch, validatepublic void parse(SetCookie cookie, String value) throws MalformedCookieException
CookieAttributeHandler复制
Cookie属性。
parse在接口
CookieAttributeHandler
cookie - Cookie待更新
value - cookie响应头中的cookie属性值
MalformedCookieException
public String getAttributeName()
getAttributeName在接口
CommonCookieAttributeHandler
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.