public static enum RateLimitProperties.Policy.Type extends Enum<RateLimitProperties.Policy.Type>
| Enum Constant and Description |
|---|
ORIGIN
Rate limit policy considering the user's origin.
|
URL
Rate limit policy considering the request path to the downstream service.
|
USER
Rate limit policy considering the authenticated user.
|
| Modifier and Type | Method and Description |
|---|---|
static RateLimitProperties.Policy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateLimitProperties.Policy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimitProperties.Policy.Type ORIGIN
public static final RateLimitProperties.Policy.Type USER
public static final RateLimitProperties.Policy.Type URL
public static RateLimitProperties.Policy.Type[] values()
for (RateLimitProperties.Policy.Type c : RateLimitProperties.Policy.Type.values()) System.out.println(c);
public static RateLimitProperties.Policy.Type 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 Pivotal Software, Inc.. All rights reserved.