Constructor and Description |
---|
CloseableDoSFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
onRequestTimeout(HttpServletRequest request,
HttpServletResponse response,
Thread handlingThread)
Invoked when the request handling exceeds
DoSFilter.getMaxRequestMs() . |
addWhitelistAddress, checkWhitelist, checkWhitelist, clearWhitelist, closeConnection, destroy, doFilter, doFilter, doFilterChain, extractUserId, getDelayMs, getMaxIdleTrackerMs, getMaxPriority, getMaxRequestMs, getMaxRequestsPerSec, getMaxWaitMs, getPriority, getRateTracker, getThrottledRequests, getThrottleMs, getTooManyCode, getWhitelist, init, isEnabled, isInsertHeaders, isRemotePort, isTrackSessions, removeWhitelistAddress, setDelayMs, setEnabled, setInsertHeaders, setMaxIdleTrackerMs, setMaxRequestMs, setMaxRequestsPerSec, setMaxWaitMs, setRemotePort, setThrottledRequests, setThrottleMs, setTooManyCode, setTrackSessions, setWhitelist, startScheduler, stopScheduler, subnetMatch
protected void onRequestTimeout(HttpServletRequest request, HttpServletResponse response, Thread handlingThread)
DoSFilter
DoSFilter.getMaxRequestMs()
.
By default, a HTTP 503 response is returned and the handling thread is interrupted.
onRequestTimeout
in class DoSFilter
request
- the current requestresponse
- the current responsehandlingThread
- the handling threadCopyright © 1995–2017 Webtide. All rights reserved.