org.ocpsoft.rewrite.servlet.config
Class HttpCondition
java.lang.Object
org.ocpsoft.rewrite.config.DefaultConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
- All Implemented Interfaces:
- Condition, ConditionBuilder, ConfigurationElement
public abstract class HttpCondition
- extends DefaultConditionBuilder
A condition that only applies to HttpServletRewrite events.
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCondition
public HttpCondition()
evaluateHttp
public abstract boolean evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
- Evaluate this condition against the given
HttpServletRewrite event. If this condition does not apply to
the given event, it must return false. If the condition applies and is satisfied, return true.
evaluate
public final boolean evaluate(Rewrite event,
EvaluationContext context)
Copyright © 2013 OCPsoft. All Rights Reserved.