org.eclipse.jetty.servlets
类 CloseableDoSFilter
java.lang.Object
org.eclipse.jetty.servlets.DoSFilter
org.eclipse.jetty.servlets.CloseableDoSFilter
- 所有已实现的接口:
- Filter
public class CloseableDoSFilter
- extends DoSFilter
Closeable DoS Filter.
This is an extension to the DoSFilter that uses Jetty APIs to allow
connections to be closed cleanly.
| 从类 org.eclipse.jetty.servlets.DoSFilter 继承的方法 |
addWhitelistAddress, checkWhitelist, clearWhitelist, destroy, doFilter, doFilter, doFilterChain, extractUserId, getDelayMs, getMaxIdleTrackerMs, getMaxPriority, getMaxRequestMs, getMaxRequestsPerSec, getMaxWaitMs, getPriority, getRateTracker, getThrottledRequests, getThrottleMs, getWhitelist, init, isEnabled, isInsertHeaders, isRemotePort, isTrackSessions, removeWhitelistAddress, setDelayMs, setEnabled, setInsertHeaders, setMaxIdleTrackerMs, setMaxRequestMs, setMaxRequestsPerSec, setMaxWaitMs, setRemotePort, setThrottledRequests, setThrottleMs, setTrackSessions, setWhitelist, subnetMatch |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseableDoSFilter
public CloseableDoSFilter()
closeConnection
protected void closeConnection(HttpServletRequest request,
HttpServletResponse response,
Thread thread)
- 从类
DoSFilter 复制的描述
- Takes drastic measures to return this response and stop this thread.
Due to the way the connection is interrupted, may return mixed up headers.
- 覆盖:
- 类
DoSFilter 中的 closeConnection
- 参数:
request - current requestresponse - current response, which must be stoppedthread - the handling thread
Copyright © 2013. All Rights Reserved.