public enum CookieSpecs extends Enum<CookieSpecs>
| Enum Constant and Description |
|---|
IGNORE_COOKIES
The policy that ignores cookies.
|
STANDARD
The RFC 6265 compliant policy (interoprability profile).
|
STANDARD_STRICT
The RFC 6265 compliant policy (strict profile).
|
| Modifier and Type | Method and Description |
|---|---|
static CookieSpecs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CookieSpecs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CookieSpecs STANDARD
public static final CookieSpecs STANDARD_STRICT
public static final CookieSpecs IGNORE_COOKIES
public final String ident
public static CookieSpecs[] values()
for (CookieSpecs c : CookieSpecs.values()) System.out.println(c);
public static CookieSpecs valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 1999–2018 The Apache Software Foundation. All rights reserved.