public static enum Http.CookieSpec extends Enum<Http.CookieSpec>
Enum Constant and Description |
---|
DEFAULT |
IGNORE_COOKIES |
NETSCAPE |
STANDARD |
STANDARD_STRICT |
Modifier and Type | Method and Description |
---|---|
static Http.CookieSpec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http.CookieSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http.CookieSpec DEFAULT
public static final Http.CookieSpec IGNORE_COOKIES
public static final Http.CookieSpec NETSCAPE
public static final Http.CookieSpec STANDARD
public static final Http.CookieSpec STANDARD_STRICT
public static Http.CookieSpec[] values()
for (Http.CookieSpec c : Http.CookieSpec.values()) System.out.println(c);
public static Http.CookieSpec 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 null