|
rewrite-api-servlet 1.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.ConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
public abstract class HttpCondition
A condition that only applies to HttpServletRewrite events.
| Constructor Summary | |
|---|---|
HttpCondition()
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(Rewrite event,
EvaluationContext context)
|
abstract boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
Evaluate this condition against the given HttpServletRewrite event. |
| Methods inherited from class org.ocpsoft.rewrite.config.ConditionBuilder |
|---|
and, andNot, or, orNot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpCondition()
| Method Detail |
|---|
public abstract boolean evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
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.
public final boolean evaluate(Rewrite event,
EvaluationContext context)
|
rewrite-api-servlet 1.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||