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