public abstract class AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter extends AbstractThrottledSubmissionHandlerInterceptorAdapter
Note, this class relies on an external method for decrementing the counts (i.e. a Quartz Job) and runs independent of the threshold of the parent.
logger| Constructor and Description |
|---|
AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
constructKey(javax.servlet.http.HttpServletRequest request) |
void |
decrementCounts()
This class relies on an external configuration to clean it up.
|
protected boolean |
exceedsThreshold(javax.servlet.http.HttpServletRequest request) |
protected void |
recordSubmissionFailure(javax.servlet.http.HttpServletRequest request) |
afterPropertiesSet, getFailureRangeInSeconds, getFailureThreshold, getThresholdRate, getUsernameParameter, postHandle, preHandle, recordThrottle, setFailureRangeInSeconds, setFailureThreshold, setUsernameParameterpublic AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter()
protected final boolean exceedsThreshold(javax.servlet.http.HttpServletRequest request)
exceedsThreshold in class AbstractThrottledSubmissionHandlerInterceptorAdapterprotected final void recordSubmissionFailure(javax.servlet.http.HttpServletRequest request)
recordSubmissionFailure in class AbstractThrottledSubmissionHandlerInterceptorAdapterprotected abstract String constructKey(javax.servlet.http.HttpServletRequest request)
public final void decrementCounts()
Copyright © 2004-2015 Apereo. All Rights Reserved.