"Domain" cookie attribute handler for RFC 2965 cookie spec.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the specified host matches the given domain.host name where cookie is received from or being sent to. host, final String The cookie domain attribute. domain)Performs domain-match as defined by the RFC2965. |
| 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 domain)Implements org. |
| public void | validate(final Cookie
org. to validatethe cookie source to validate against origin)Implements org. |
| RFC2965DomainAttributeHandler | back to summary |
|---|---|
| public RFC2965DomainAttributeHandler() | |
| domainMatch | back to summary |
|---|---|
| public boolean domainMatch(final String host, final String domain) Performs domain-match as defined by the RFC2965. Host A's name domain-matches host B's if
| |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() Implements org.
| |
| match | back to summary |
|---|---|
| public boolean match(final Cookie cookie, final CookieOrigin origin) Implements org. Match cookie domain attribute.
| |
| parse | back to summary |
|---|---|
| public void parse(final SetCookie cookie, final String domain) throws MalformedCookieException Implements org. Parse cookie domain attribute.
| |
| validate | back to summary |
|---|---|
| public void validate(final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException Implements org. Validate cookie domain attribute.
| |