| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | ALWAYS_ADD_EXPIRES
If set to false, we don't use the IE6/7 Max-Age/Expires work around |
| pack-priv static final String | |
| public static final boolean | COOKIE_VERSION_ONE_STRICT_COMPLIANCE
If set to true, then it will double quote the value and update cookie version when there is special characters. |
| public static final DateTimeFormatter | |
| pack-priv static final String | |
| public static final boolean | |
| pack-priv static final char[] | |
| pack-priv static final boolean[] | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| public static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | getQuotedValueEndPosition(Buffer buffer, int off, int end)
Given a starting position after an initial quote character, this gets the position of the end quote. |
| public static int | getQuotedValueEndPosition(byte[] bytes, int off, int end)
Given a starting position after an initial quote character, this gets the position of the end quote. |
| public static int | getQuotedValueEndPosition(String s, int off, int end)
Given a starting position after an initial quote character, this gets the position of the end quote. |
| public static int | getTokenEndPosition(Buffer buffer, int off, int end)
Given the starting position of a token, this gets the end of the token, with no separator characters in between. |
| public static int | |
| public static int | getTokenEndPosition(byte[] bytes, int off, int end)
Given the starting position of a token, this gets the end of the token, with no separator characters in between. |
| public static int | |
| public static int | getTokenEndPosition(String s, int off, int end)
Given the starting position of a token, this gets the end of the token, with no separator characters in between. |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean |
| ALWAYS_ADD_EXPIRES | back to summary |
|---|---|
| public static final boolean ALWAYS_ADD_EXPIRES If set to false, we don't use the IE6/7 Max-Age/Expires work around | |
| ancientDate | back to summary |
|---|---|
| pack-priv static final String ancientDate | |
| COOKIE_VERSION_ONE_STRICT_COMPLIANCE | back to summary |
|---|---|
| public static final boolean COOKIE_VERSION_ONE_STRICT_COMPLIANCE If set to true, then it will double quote the value and update cookie version when there is special characters. Tomcat uses STRICT_SERVLET_COMPLIANCE, whereas this code uses COOKIE_VERSION_ONE_STRICT_COMPLIANCE, which unlike the Tomcat variant not only affects cookie generation, but also cookie parsing. By default, cookies are parsed as v0 cookies, in order to maintain backward compatibility with GlassFish v2.x | |
| OLD_COOKIE_FORMAT | back to summary |
|---|---|
| public static final DateTimeFormatter OLD_COOKIE_FORMAT | |
| OLD_COOKIE_PATTERN | back to summary |
|---|---|
| pack-priv static final String OLD_COOKIE_PATTERN | |
| RFC_6265_SUPPORT_ENABLED | back to summary |
|---|---|
| public static final boolean RFC_6265_SUPPORT_ENABLED | |
| SEPARATORS | back to summary |
|---|---|
| pack-priv static final char[] SEPARATORS | |
| separators | back to summary |
|---|---|
| pack-priv static final boolean[] separators | |
| tspecials | back to summary |
|---|---|
| pack-priv static final String tspecials | |
| tspecials2 | back to summary |
|---|---|
| pack-priv static final String tspecials2 | |
| tspecials2NoSlash | back to summary |
|---|---|
| pack-priv static final String tspecials2NoSlash | |
| USE_LEGACY_PARSER | back to summary |
|---|---|
| public static final boolean USE_LEGACY_PARSER | |
| CookieUtils | back to summary |
|---|---|
| public CookieUtils() | |
| containsCTL | back to summary |
|---|---|
| public static boolean containsCTL(String value, int version) | |
| equals | back to summary |
|---|---|
| public static boolean equals(String s, byte[] b, int start, int end) | |
| equals | back to summary |
|---|---|
| public static boolean equals(String s, Buffer b, int start, int end) | |
| equals | back to summary |
|---|---|
| public static boolean equals(String s1, String s2, int start, int end) | |
| equalsIgnoreCase | back to summary |
|---|---|
| public static boolean equalsIgnoreCase(String s, Buffer b, int start, int end) | |
| equalsIgnoreCase | back to summary |
|---|---|
| public static boolean equalsIgnoreCase(String s, byte[] b, int start, int end) | |
| equalsIgnoreCase | back to summary |
|---|---|
| public static boolean equalsIgnoreCase(String s1, String s2, int start, int end) | |
| getQuotedValueEndPosition | back to summary |
|---|---|
| public static int getQuotedValueEndPosition(Buffer buffer, int off, int end) Given a starting position after an initial quote character, this gets the position of the end quote. This escapes anything after a '\' char JVK RFC 2616 | |
| getQuotedValueEndPosition | back to summary |
|---|---|
| public static int getQuotedValueEndPosition(byte[] bytes, int off, int end) Given a starting position after an initial quote character, this gets the position of the end quote. This escapes anything after a '\' char JVK RFC 2616 | |
| getQuotedValueEndPosition | back to summary |
|---|---|
| public static int getQuotedValueEndPosition(String s, int off, int end) Given a starting position after an initial quote character, this gets the position of the end quote. This escapes anything after a '\' char JVK RFC 2616 | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(Buffer buffer, int off, int end) Given the starting position of a token, this gets the end of the token, with no separator characters in between. JVK | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(Buffer buffer, int off, int end, boolean parseAsVersion1) | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(byte[] bytes, int off, int end) Given the starting position of a token, this gets the end of the token, with no separator characters in between. JVK | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(byte[] bytes, int off, int end, boolean parseAsVersion1) | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(String s, int off, int end) Given the starting position of a token, this gets the end of the token, with no separator characters in between. JVK | |
| getTokenEndPosition | back to summary |
|---|---|
| public static int getTokenEndPosition(String s, int off, int end, boolean parseAsVersion1) | |
| isSeparator | back to summary |
|---|---|
| public static boolean isSeparator(final int c) Returns true if the byte is a separator character as defined in RFC2619. Since this is called often, this function should be organized with the most probable outcomes first. | |
| isSeparator | back to summary |
|---|---|
| public static boolean isSeparator(final int c, final boolean parseAsVersion1) | |
| isToken | back to summary |
|---|---|
| public static boolean isToken(String value) | |
| isToken | back to summary |
|---|---|
| public static boolean isToken(String value, String literals) | |
| isToken2 | back to summary |
|---|---|
| public static boolean isToken2(String value) | |
| isToken2 | back to summary |
|---|---|
| public static boolean isToken2(String value, String literals) | |
| isWhiteSpace | back to summary |
|---|---|
| public static boolean isWhiteSpace(final int c) Returns true if the byte is a whitespace character as defined in RFC2619. | |