|
rewrite-config-servlet 2.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.DefaultConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
org.ocpsoft.rewrite.servlet.config.DispatchType
public class DispatchType
A Condition that inspects the value of HttpServletRequest#getDispatcherType().
| Method Summary | |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
|
static DispatchType |
isAsync()
Create a DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.ASYNC |
static DispatchType |
isError()
Create a DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.ERROR |
static DispatchType |
isForward()
Create a DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.FORWARD |
static DispatchType |
isInclude()
Create a DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.INCLUDE |
static DispatchType |
isRequest()
Create a DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.REQUEST |
String |
toString()
|
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition |
|---|
evaluate |
| Methods inherited from class org.ocpsoft.rewrite.config.DefaultConditionBuilder |
|---|
and, andNot, or, orNot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
evaluateHttp in class HttpConditionpublic static DispatchType isForward()
DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.FORWARD
public static DispatchType isRequest()
DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.REQUEST
public static DispatchType isError()
DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.ERROR
public static DispatchType isAsync()
DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.ASYNC
public static DispatchType isInclude()
DispatchType condition that ensures the current HttpServletRewrite is a
DispatcherType.INCLUDE
public String toString()
toString in class Object
|
rewrite-config-servlet 2.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||