| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public static void | parseClientCookies(Cookies cookies, Buffer buffer, int off, int len)
Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK |
| public static void | parseClientCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK |
| public static void | parseClientCookies(Cookies cookies, byte[] bytes, int off, int len)
Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK |
| public static void | parseClientCookies(Cookies cookies, byte[] bytes, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK |
| public static void | parseClientCookies(Cookies cookies, String cookiesStr, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK |
| public static void | parseServerCookies(Cookies cookies, byte[] bytes, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
|
| public static void | parseServerCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
|
| public static void | parseServerCookies(Cookies cookies, String cookiesStr, boolean versionOneStrictCompliance, boolean rfc6265Enabled)
|
| public static void | unescapeDoubleQuotes(DataChunk
The cookie value to modify dc)Unescapes any double quotes in the given cookie value. |
| public static void | unescapeDoubleQuotes(final ByteChunk
The cookie value to modify bc)Unescapes any double quotes in the given cookie value. |
| public static void | unescapeDoubleQuotes(BufferChunk
The cookie value to modify bc)Unescapes any double quotes in the given cookie value. |
| public static void | unescapeDoubleQuotes(CharChunk
The cookie value to modify cc)Unescapes any double quotes in the given cookie value. |
| public static int | Returns: new lengththe cookie buffer. buffer, int start position. start, int number of bytes to un-escape. length)Un-escapes any double quotes in the given cookie value. |
| public static String | Returns: new StringThe cookie value to modify s, int start, int length)Unescapes any double quotes in the given cookie value. |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| CookieParserUtils | back to summary |
|---|---|
| public CookieParserUtils() | |
| getMaxAgeDelta | back to summary |
|---|---|
| private static int getMaxAgeDelta(long date1, long date2) | |
| parseClientCookies | back to summary |
|---|---|
| public static void parseClientCookies(Cookies cookies, Buffer buffer, int off, int len) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK | |
| parseClientCookies | back to summary |
|---|---|
| public static void parseClientCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK | |
| parseClientCookies | back to summary |
|---|---|
| public static void parseClientCookies(Cookies cookies, byte[] bytes, int off, int len) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK | |
| parseClientCookies | back to summary |
|---|---|
| public static void parseClientCookies(Cookies cookies, byte[] bytes, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK | |
| parseClientCookies | back to summary |
|---|---|
| public static void parseClientCookies(Cookies cookies, String cookiesStr, boolean versionOneStrictCompliance, boolean rfc6265Enabled) Parses a cookie header after the initial "Cookie:" [WS][$]token[WS]=[WS](token|QV)[;|,] RFC 2965 JVK | |
| parseServerCookies | back to summary |
|---|---|
| public static void parseServerCookies(Cookies cookies, byte[] bytes, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) | |
| parseServerCookies | back to summary |
|---|---|
| public static void parseServerCookies(Cookies cookies, Buffer buffer, int off, int len, boolean versionOneStrictCompliance, boolean rfc6265Enabled) | |
| parseServerCookies | back to summary |
|---|---|
| public static void parseServerCookies(Cookies cookies, String cookiesStr, boolean versionOneStrictCompliance, boolean rfc6265Enabled) | |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static void unescapeDoubleQuotes(DataChunk dc) Unescapes any double quotes in the given cookie value.
| |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static void unescapeDoubleQuotes(final ByteChunk bc) Unescapes any double quotes in the given cookie value.
| |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static void unescapeDoubleQuotes(BufferChunk bc) Unescapes any double quotes in the given cookie value.
| |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static void unescapeDoubleQuotes(CharChunk cc) Unescapes any double quotes in the given cookie value.
| |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static int unescapeDoubleQuotes(Buffer buffer, int start, int length) Un-escapes any double quotes in the given cookie value.
| |
| unescapeDoubleQuotes | back to summary |
|---|---|
| public static String unescapeDoubleQuotes(String s, int start, int length) Unescapes any double quotes in the given cookie value. | |