@NameBinding
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface RateLimited
| Modifier and Type | Required Element and Description |
|---|---|
Rate[] |
rates |
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
groupKeyPrefix
An optional group key prefix allows for a grouped rate limit across multiple dropwizard resources.
|
KeyPart[] |
keys |
boolean |
reportOnly
If true the rate limiter won't enforce over limit.
|
public abstract Rate[] rates
public abstract KeyPart[] keys