@FunctionalInterface public interface RateLimiter
Modifier and Type | Method and Description |
---|---|
RateLimitRequestToken |
getToken(javax.ws.rs.container.ContainerRequestContext request)
Request a token from the RateLimiter, which represents an in-flight request.
|
RateLimitRequestToken getToken(javax.ws.rs.container.ContainerRequestContext request)
request
- The object representing the requestCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.