| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicInteger | |
| private final String | |
| private final Set | |
| private static final List | |
| private static final Logger | |
| public static final CookieCompliance | |
| public static final CookieCompliance | RFC2965_LEGACY
A CookieCompliance mode that allows RFC 2965 compliance. |
| public static final CookieCompliance | |
| public static final CookieCompliance | RFC6265_LEGACY
A CookieCompliance mode that enforces RFC 6265 compliance, but allows: |
| public static final CookieCompliance | RFC6265_STRICT
A CookieCompliance mode that enforces RFC 6265 compliance. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allows(ComplianceViolation
The violation)ComplianceViolation to testImplements org.
|
| public boolean | |
| public static CookieCompliance | |
| public Set | |
| public Set | |
| public String | |
| public String | |
| public static CookieCompliance |
| __custom | back to summary |
|---|---|
| private static final AtomicInteger __custom | |
| _name | back to summary |
|---|---|
| private final String _name | |
| _violations | back to summary |
|---|---|
| private final Set<CookieCompliance. | |
| KNOWN_MODES | back to summary |
|---|---|
| private static final List<CookieCompliance> KNOWN_MODES | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| RFC2965 | back to summary |
|---|---|
| public static final CookieCompliance RFC2965 A CookieCompliance mode that allows RFC 2965 compliance but does not allow: | |
| RFC2965_LEGACY | back to summary |
|---|---|
| public static final CookieCompliance RFC2965_LEGACY A CookieCompliance mode that allows RFC 2965 compliance. | |
| RFC6265 | back to summary |
|---|---|
| public static final CookieCompliance RFC6265 A CookieCompliance mode that enforces RFC 6265 compliance, but allows: | |
| RFC6265_LEGACY | back to summary |
|---|---|
| public static final CookieCompliance RFC6265_LEGACY A CookieCompliance mode that enforces RFC 6265 compliance, but allows: | |
| RFC6265_STRICT | back to summary |
|---|---|
| public static final CookieCompliance RFC6265_STRICT A CookieCompliance mode that enforces RFC 6265 compliance. | |
| CookieCompliance | back to summary |
|---|---|
| public CookieCompliance(String name, Set<CookieCompliance. | |
| allows | back to summary |
|---|---|
| public boolean allows(ComplianceViolation violation) Implements org.
| |
| compliesWith | back to summary |
|---|---|
| public boolean compliesWith(CookieCompliance mode) | |
| from | back to summary |
|---|---|
| public static CookieCompliance from(String spec) Create compliance set from string. Format: <BASE>[,[-]<violation>]... BASE is one of:
The remainder of the list can contain then names of
| |
| getAllowed | back to summary |
|---|---|
| public Set Implements org.
| |
| getKnown | back to summary |
|---|---|
| public Set Implements org.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| valueOf | back to summary |
|---|---|
| public static CookieCompliance valueOf(String name) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CookieCompliance. | ATTRIBUTE_VALUES
A cookie attribute value was found and its value is retained. |
| public static final CookieCompliance. | ATTRIBUTES
A cookie attribute was found. |
| public static final CookieCompliance. | BAD_QUOTES
Quotes are not balanced or are embedded in value. |
| public static final CookieCompliance. | COMMA_NOT_VALID_OCTET
Deprecated
Use SPECIAL_CHARS_IN_QUOTES
A comma was found in a cookie value.
|
| public static final CookieCompliance. | COMMA_SEPARATOR
A comma was found as separator between cookies. |
| private final String | |
| public static final CookieCompliance. | ESCAPE_IN_QUOTES
A backslash was found in a quoted cookie value. |
| public static final CookieCompliance. | INVALID_COOKIES
An invalid cookie was found, without a more specific violation. |
| public static final CookieCompliance. | OPTIONAL_WHITE_SPACE
Whitespace was found around the cookie name and/or around the cookie value. |
| public static final CookieCompliance. | RESERVED_NAMES_NOT_DOLLAR_PREFIXED
Deprecated
no replacement because was mistakenly considered a violation
|
| public static final CookieCompliance. | SPACE_IN_VALUES
Allow spaces within values without quotes. |
| public static final CookieCompliance. | SPECIAL_CHARS_IN_QUOTES
Special characters were found in a quoted cookie value. |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | |
| public static CookieCompliance. | |
| public static CookieCompliance. |
| ATTRIBUTE_VALUES | back to summary |
|---|---|
| public static final CookieCompliance. A cookie attribute value was found and its value is retained.
Allowing | |
| ATTRIBUTES | back to summary |
|---|---|
| public static final CookieCompliance. A cookie attribute was found.
The attribute value is retained only if | |
| BAD_QUOTES | back to summary |
|---|---|
| public static final CookieCompliance. Quotes are not balanced or are embedded in value. | |
| COMMA_NOT_VALID_OCTET | back to summary |
|---|---|
| public static final CookieCompliance. Deprecated Use SPECIAL_CHARS_IN_QUOTES A comma was found in a cookie value. | |
| COMMA_SEPARATOR | back to summary |
|---|---|
| public static final CookieCompliance. A comma was found as separator between cookies. | |
| description | back to summary |
|---|---|
| private final String description | |
| ESCAPE_IN_QUOTES | back to summary |
|---|---|
| public static final CookieCompliance. A backslash was found in a quoted cookie value. | |
| INVALID_COOKIES | back to summary |
|---|---|
| public static final CookieCompliance. An invalid cookie was found, without a more specific violation. When this violation is not allowed, an exception is thrown. | |
| OPTIONAL_WHITE_SPACE | back to summary |
|---|---|
| public static final CookieCompliance. Whitespace was found around the cookie name and/or around the cookie value. | |
| RESERVED_NAMES_NOT_DOLLAR_PREFIXED | back to summary |
|---|---|
| public static final CookieCompliance. Deprecated no replacement because was mistakenly considered a violation | |
| SPACE_IN_VALUES | back to summary |
|---|---|
| public static final CookieCompliance. Allow spaces within values without quotes. | |
| SPECIAL_CHARS_IN_QUOTES | back to summary |
|---|---|
| public static final CookieCompliance. Special characters were found in a quoted cookie value. | |
| url | back to summary |
|---|---|
| private final String url | |
| Violation | back to summary |
|---|---|
| private Violation(String url, String description) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements org.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getURL | back to summary |
|---|---|
| public String getURL() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static CookieCompliance. | |
| values | back to summary |
|---|---|
| public static CookieCompliance. | |