@ConfigurationProperties(value="micronaut.ratelimiting")
public class RateLimitingConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PATH_KEY |
| Constructor and Description |
|---|
RateLimitingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getPaths() |
boolean |
isIpAddressResolver() |
void |
setIpAddressResolver(boolean ipAddressResolver) |
void |
setPaths(java.util.List<java.lang.String> paths) |
public static final java.lang.String PATH_KEY
@Nonnull public java.util.List<java.lang.String> getPaths()
public void setPaths(@Nonnull
java.util.List<java.lang.String> paths)
paths - The ANT style paths that rate limiting should be applied topublic boolean isIpAddressResolver()
public void setIpAddressResolver(boolean ipAddressResolver)
ipAddressResolver - If true, the provided IP address BucketNameResolver
will be enabled.