Deprecated
(4.4) use org.
| Modifier and Type | Field and Description |
|---|---|
| private Collection | |
| private PublicSuffixMatcher | |
| private Collection | |
| private final CookieAttributeHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| 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. org. property.
|
| public void | |
| public void | |
| public void | validate(final Cookie
org. to validatethe cookie source to validate against origin)Implements org. |
| exceptions | back to summary |
|---|---|
| private Collection<String> exceptions | |
| matcher | back to summary |
|---|---|
| private PublicSuffixMatcher matcher | |
| suffixes | back to summary |
|---|---|
| private Collection<String> suffixes | |
| wrapped | back to summary |
|---|---|
| private final CookieAttributeHandler wrapped | |
| PublicSuffixFilter | back to summary |
|---|---|
| public PublicSuffixFilter(final CookieAttributeHandler wrapped) | |
| isForPublicSuffix | back to summary |
|---|---|
| private boolean isForPublicSuffix(final Cookie cookie) | |
| match | back to summary |
|---|---|
| public boolean match(final Cookie cookie, final CookieOrigin origin) Implements org. Never matches if the cookie's domain is from the blacklist.
| |
| parse | back to summary |
|---|---|
| public void parse(final SetCookie cookie, final String value) throws MalformedCookieException Implements org. Doc from org. Parse the given cookie attribute value and update the corresponding
| |
| setExceptions | back to summary |
|---|---|
| public void setExceptions(final Collection<String> exceptions) Sets the exceptions from the blacklist. Exceptions can not be patterns. TODO add support for patterns | |
| setPublicSuffixes | back to summary |
|---|---|
| public void setPublicSuffixes(final Collection<String> suffixes) Sets the suffix blacklist patterns. A pattern can be "com", "*.jp" TODO add support for patterns like "lib.*.us" | |
| validate | back to summary |
|---|---|
| public void validate(final Cookie cookie, final CookieOrigin origin) throws MalformedCookieException Implements org. Doc from org. Peforms cookie validation for the given attribute value.
| |