public class DispatchType extends HttpCondition
HttpServletRequest#getDispatcherType() property.| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context) |
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 |
String |
toString() |
evaluatepublic boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
evaluateHttp in class HttpConditionpublic static DispatchType isForward()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.FORWARDpublic static DispatchType isRequest()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.REQUESTpublic static DispatchType isError()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ERRORpublic static DispatchType isAsync()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.ASYNCpublic static DispatchType isInclude()
DispatchType condition that ensures the current HttpServletRewrite is of
DispatcherType.INCLUDECopyright © 2013 OCPsoft. All Rights Reserved.