"Version" cookie attribute handler for RFC 2965 cookie spec.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | match(final Cookie
org. to matchthe cookie source to match against origin)Implements org. |
| public void | parse(final SetCookie
org. to be updatedcookie attribute value from the cookie response header value)Implements org. |
| public void | validate(final Cookie
org. to validatethe cookie source to validate against origin)Implements org. |
| RFC2965VersionAttributeHandler | back to summary |
|---|---|
| public RFC2965VersionAttributeHandler() | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() Implements org.
| |
| match | back to summary |
|---|---|
| public boolean match(final Cookie cookie, final CookieOrigin origin) Implements org. Doc from org. Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
| |
| parse | back to summary |
|---|---|
| public void parse(final SetCookie cookie, final String value) throws MalformedCookieException Implements org. Parse cookie version attribute.
| |
| validate | back to summary |
|---|---|
| public void validate(final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException Implements org. validate cookie version attribute. Version attribute is REQUIRED.
| |