@Immutable public class RFC2965PortAttributeHandler extends java.lang.Object implements CookieAttributeHandler
| 构造器和说明 |
|---|
RFC2965PortAttributeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
match(Cookie cookie,
CookieOrigin origin)
Match cookie port attribute.
|
void |
parse(SetCookie cookie,
java.lang.String portValue)
Parse cookie port attribute.
|
void |
validate(Cookie cookie,
CookieOrigin origin)
Validate cookie port attribute.
|
public void parse(SetCookie cookie, java.lang.String portValue) throws MalformedCookieException
parse 在接口中 CookieAttributeHandlercookie - Cookie to be updatedportValue - cookie attribute value from the cookie response headerMalformedCookieExceptionpublic void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException
validate 在接口中 CookieAttributeHandlercookie - Cookie to validateorigin - the cookie source to validate againstMalformedCookieException - if cookie validation fails for this attributepublic boolean match(Cookie cookie, CookieOrigin origin)
match 在接口中 CookieAttributeHandlercookie - Cookie to matchorigin - the cookie source to match against