当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
FloodControlInterceptor - JBOSS Portal 2.6 API 英文版文档
org.jboss.portlet.forums.interceptors
Class FloodControlInterceptor
java.lang.Object
org.jboss.portlet.forums.command.filter.AbstractCommandFilter
org.jboss.portlet.forums.interceptors.FloodControlInterceptor
- All Implemented Interfaces:
- CommandFilter
- public class FloodControlInterceptor
- extends AbstractCommandFilter
Interceptor for implementing flood control to stop evil users from flooding the forums.
- Author:
- Kabir Khan , Thomas Heute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
floodInterval
private long floodInterval
FloodControlInterceptor
public FloodControlInterceptor()
filter
public Result filter(Command cmd)
throws CommandException
- DOCUMENT_ME
- Parameters:
cmd
- DOCUMENT_ME
- Returns:
- DOCUMENT_ME
- Throws:
CommandException
- DOCUMENT_ME
getFloodInterval
public long getFloodInterval()
- DOCUMENT_ME
- Returns:
- DOCUMENT_ME
setFloodInterval
public void setFloodInterval(long floodInterval)
- DOCUMENT_ME
- Parameters:
floodInterval
- DOCUMENT_ME