|
rewrite-impl-servlet 1.0.5.Final | |||||||||
| 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
Responsible for asserting on the ServletRequest.getDispatcherType() property.
| Method Summary | |
|---|---|
DispatchType |
bindsTo(Binding binding)
|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context)
|
List<Binding> |
getBindings()
|
static DispatchType |
isAsync()
Return a DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ASYNC |
static DispatchType |
isError()
Return a DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ERROR |
static DispatchType |
isForward()
Return a DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.FORWARD |
static DispatchType |
isInclude()
Return a DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.INCLUDE |
static DispatchType |
isRequest()
Return a DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.REQUEST |
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition |
|---|
evaluate |
| Methods inherited from class org.ocpsoft.rewrite.config.DefaultConditionBuilder |
|---|
and, andNot, create, or, orNot, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 of
DispatcherType.FORWARD
public static DispatchType isRequest()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.REQUEST
public static DispatchType isError()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ERROR
public static DispatchType isAsync()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ASYNC
public static DispatchType isInclude()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.INCLUDE
public DispatchType bindsTo(Binding binding)
bindsTo in interface Bindable<DispatchType>public List<Binding> getBindings()
getBindings in interface Bindable<DispatchType>
|
rewrite-impl-servlet 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||