Cookie parser.
An interface for variations of a cookie parser.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | CookieParser.Handler
The handler of parsed cookies. |
| public static class | CookieParser.InvalidCookieException
The exception thrown when a cookie cannot be parsed and |
| Modifier and Type | Method and Description |
|---|---|
| public static CookieParser | Returns: A CookieParser instance.the handler for Cookie Parsing events handler,The compliance mode to use for parsing. compliance, ComplianceViolation.A listener for compliance violations or null. complianceListenerA factory method to create a new parser suitable for the compliance mode. |
| public void | |
| public default void |
| newParser | back to summary |
|---|---|
| public static CookieParser newParser(CookieParser. A factory method to create a new parser suitable for the compliance mode.
| |
| parseField | back to summary |
|---|---|
| public void parseField(String field) throws InvalidCookieException | |
| parseFields | back to summary |
|---|---|
| public default void parseFields(List<String> rawFields) throws InvalidCookieException | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
The exception thrown when a cookie cannot be parsed and CookieCompliance. is not allowed.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| InvalidCookieException | back to summary |
|---|---|
| public InvalidCookieException() | |
| InvalidCookieException | back to summary |
|---|---|
| public InvalidCookieException(String s) | |
| InvalidCookieException | back to summary |
|---|---|
| public InvalidCookieException(String message, Throwable cause) | |
| InvalidCookieException | back to summary |
|---|---|
| public InvalidCookieException(Throwable cause) | |