public static enum TokenRateLimit.RateLimitType extends Enum<TokenRateLimit.RateLimitType>
| Enum Constant and Description | 
|---|
APPLICATION  | 
METHOD  | 
| Modifier and Type | Field and Description | 
|---|---|
String | 
countHeader  | 
String | 
limitHeader  | 
String | 
typeName  | 
| Modifier and Type | Method and Description | 
|---|---|
static TokenRateLimit.RateLimitType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TokenRateLimit.RateLimitType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TokenRateLimit.RateLimitType APPLICATION
public static final TokenRateLimit.RateLimitType METHOD
public final String typeName
public final String limitHeader
public final String countHeader
public static TokenRateLimit.RateLimitType[] values()
for (TokenRateLimit.RateLimitType c : TokenRateLimit.RateLimitType.values()) System.out.println(c);
public static TokenRateLimit.RateLimitType 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 © 2019. All rights reserved.