br.com.arsmachina.accesslogger.services.impl
Class DefaultAccessFilterRule
java.lang.Object
br.com.arsmachina.accesslogger.services.impl.DefaultAccessFilterRule
- All Implemented Interfaces:
- AccessFilterRule
public class DefaultAccessFilterRule
- extends Object
- implements AccessFilterRule
Default AccessFilterRule implementation, being the last one to be used by
AccessFilter.
- Author:
- Thiago H. de Paula Figueiredo
|
Method Summary |
Boolean |
accept(String path)
Tells if a request to a given path must be logged or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAccessFilterRule
public DefaultAccessFilterRule()
accept
public Boolean accept(String path)
- Description copied from interface:
AccessFilterRule
- Tells if a request to a given
path must be logged or not. This method can
return null to say it cannot decide to log to request or not, leaving the
decision for other AccessFilterRules.
- Specified by:
accept in interface AccessFilterRule
- Parameters:
path - a String. It cannot be null.
- Returns:
true, false or null.- See Also:
AccessFilterRule.accept(java.lang.String)
Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.