站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

FloodControlInterceptor - JBOSS Portal 2.2 API 英文版文档


org.jboss.portlet.forums.interceptors
Class FloodControlInterceptor

java.lang.Object
  extended byorg.jboss.portal.common.command.filter.AbstractCommandFilter
      extended byorg.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.


Field Summary
 
Fields inherited from class org.jboss.portal.common.command.filter.AbstractCommandFilter
log
 
Constructor Summary
FloodControlInterceptor()
           
 
Method Summary
 Result filter(Command cmd)
          DOCUMENT_ME
 long getFloodInterval()
          DOCUMENT_ME
 void setFloodInterval(long floodInterval)
          DOCUMENT_ME
 
Methods inherited from class org.jboss.portal.common.command.filter.AbstractCommandFilter
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloodControlInterceptor

public FloodControlInterceptor()
Method Detail

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