net.sf.j2ep.rules
Class AcceptEverythingRule

java.lang.Object
  extended by net.sf.j2ep.rules.BaseRule
      extended by net.sf.j2ep.rules.AcceptEverythingRule
All Implemented Interfaces:
Rule

public class AcceptEverythingRule
extends BaseRule

This rule matches every request passed to it, making it suitable for use as a catch-all or last rule in a chain.

Author:
Yoav Shapira

Constructor Summary
AcceptEverythingRule()
           
 
Method Summary
 boolean matches(HttpServletRequest request)
          This implementation always matches.
 
Methods inherited from class net.sf.j2ep.rules.BaseRule
process, revert, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcceptEverythingRule

public AcceptEverythingRule()
Method Detail

matches

public boolean matches(HttpServletRequest request)
This implementation always matches.

Parameters:
request - The request
Returns:
true if the request is matched, otherwise false
See Also:
Rule.matches(HttpServletRequest)