public enum CookieVersion extends Enum<CookieVersion>
Modifier and Type | Method and Description |
---|---|
static CookieVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CookieVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CookieVersion UNDEFINED
public static final CookieVersion V1
public static final CookieVersion V3
public static CookieVersion[] values()
for (CookieVersion c : CookieVersion.values()) System.out.println(c);
public static CookieVersion 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 © 2018 PerimeterX. All rights reserved.