public enum APIKeyAuthentication extends Enum<APIKeyAuthentication>
Enum Constant and Description |
---|
COOKIE |
NONE |
QUERY |
REQUEST_HEADER |
Modifier and Type | Method and Description |
---|---|
static APIKeyAuthentication |
fromValue(String value) |
static APIKeyAuthentication |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIKeyAuthentication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIKeyAuthentication REQUEST_HEADER
public static final APIKeyAuthentication QUERY
public static final APIKeyAuthentication COOKIE
public static final APIKeyAuthentication NONE
public static APIKeyAuthentication[] values()
for (APIKeyAuthentication c : APIKeyAuthentication.values()) System.out.println(c);
public static APIKeyAuthentication 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 nullpublic static APIKeyAuthentication fromValue(String value)