@Deprecated public final class CookieSupport extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
ALLOW_EQUALS_IN_VALUE
Deprecated.
If true, cookie values are allowed to contain an equals character without
being quoted.
|
static boolean |
ALLOW_HTTP_SEPARATORS_IN_V0
Deprecated.
If true, separators that are not explicitly dis-allowed by the v0 cookie
spec but are disallowed by the HTTP spec will be allowed in v0 cookie
names and values.
|
static boolean |
ALLOW_NAME_ONLY
Deprecated.
If true, name only cookies will be permitted.
|
static boolean |
FWD_SLASH_IS_SEPARATOR
Deprecated.
If set to true, the
/ character will be treated as a
separator. |
static boolean |
PRESERVE_COOKIE_HEADER
Deprecated.
If set to true, the cookie header will be preserved.
|
static boolean |
STRICT_SERVLET_COMPLIANCE
Deprecated.
If set to true, we parse cookies strictly according to the servlet,
cookie and HTTP specs by default.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isHttpSeparator(char c)
Deprecated.
Returns true if the byte is a separator as defined by V1 of the cookie
spec, RFC2109.
|
static boolean |
isV0Separator(char c)
Deprecated.
Returns true if the byte is a separator as defined by V0 of the cookie
spec.
|
public static final boolean STRICT_SERVLET_COMPLIANCE
public static final boolean ALLOW_EQUALS_IN_VALUE
public static final boolean ALLOW_HTTP_SEPARATORS_IN_V0
FWD_SLASH_IS_SEPARATOR
.public static final boolean FWD_SLASH_IS_SEPARATOR
/
character will be treated as a
separator. Default is usually false. If STRICT_SERVLET_COMPLIANCE==true
then default is true. Explicitly setting always takes priority.public static final boolean ALLOW_NAME_ONLY
public static final boolean PRESERVE_COOKIE_HEADER
public static final boolean isV0Separator(char c)
public static final boolean isHttpSeparator(char c)
IllegalArgumentException
- if a control character was supplied as
inputCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.