public abstract class RateLimitHandler
extends com.appslandia.common.base.InitializeObject
| Modifier and Type | Field and Description |
|---|---|
protected RateLimitSkipper |
rateLimitSkipper |
| Constructor and Description |
|---|
RateLimitHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
checkClient(String clientId) |
void |
checkRequest(javax.servlet.http.HttpServletRequest request,
RequestContext requestContext) |
@Inject protected RateLimitSkipper rateLimitSkipper
public void checkRequest(javax.servlet.http.HttpServletRequest request,
RequestContext requestContext)
throws TooManyRequestsException
TooManyRequestsExceptionprotected abstract void checkClient(String clientId) throws TooManyRequestsException
TooManyRequestsExceptionCopyright © 2021. All rights reserved.