Uses of Class
com.aspectran.core.context.rule.DispatchRule
-
Packages that use DispatchRule Package Description com.aspectran.core.activity A package for handling an activity that perform requests, business logic, and responses.com.aspectran.core.activity.response.dispatch com.aspectran.core.context.rule com.aspectran.core.context.rule.ability com.aspectran.core.context.rule.converter com.aspectran.freemarker.view com.aspectran.pebble.view com.aspectran.web.support.view -
-
Uses of DispatchRule in com.aspectran.core.activity
Methods in com.aspectran.core.activity with parameters of type DispatchRule Modifier and Type Method Description void
CoreTranslet. dispatch(DispatchRule dispatchRule)
void
Translet. dispatch(DispatchRule dispatchRule)
Dispatch to other resources as the given rule. -
Uses of DispatchRule in com.aspectran.core.activity.response.dispatch
Methods in com.aspectran.core.activity.response.dispatch that return DispatchRule Modifier and Type Method Description DispatchRule
DispatchResponse. getDispatchRule()
Gets the dispatch rule.DispatchRule
DispatchResponseException. getDispatchRule()
Gets the dispatch rule.Methods in com.aspectran.core.activity.response.dispatch with parameters of type DispatchRule Modifier and Type Method Description void
ViewDispatcher. dispatch(Activity activity, DispatchRule dispatchRule)
Dispatch to other resources as the given rule.Constructors in com.aspectran.core.activity.response.dispatch with parameters of type DispatchRule Constructor Description DispatchResponse(DispatchRule dispatchRule)
Instantiates a new DispatchResponse with specified DispatchRule.DispatchResponseException(DispatchRule dispatchRule, java.lang.String msg)
Constructor to create exception to wrap another exception and pass a message.DispatchResponseException(DispatchRule dispatchRule, java.lang.String msg, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message.DispatchResponseException(DispatchRule dispatchRule, java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message. -
Uses of DispatchRule in com.aspectran.core.context.rule
Methods in com.aspectran.core.context.rule that return DispatchRule Modifier and Type Method Description static DispatchRule
DispatchRule. newInstance(java.lang.String name)
Returns a new instance of DispatchRule.static DispatchRule
DispatchRule. newInstance(java.lang.String name, java.lang.String dispatcher, java.lang.String contentType, java.lang.String encoding)
Returns a new instance of DispatchRule.static DispatchRule
DispatchRule. newInstance(java.lang.String name, java.lang.String dispatcherName, java.lang.String contentType, java.lang.String encoding, java.lang.Boolean defaultResponse)
Returns a new instance of DispatchRule.DispatchRule
DispatchRule. replicate()
static DispatchRule
DispatchRule. replicate(DispatchRule dispatchRule)
Returns a new derived instance of DispatchRule.Methods in com.aspectran.core.context.rule with parameters of type DispatchRule Modifier and Type Method Description Response
ChooseWhenRule. applyResponseRule(DispatchRule dispatchRule)
Response
ExceptionThrownRule. applyResponseRule(DispatchRule dispatchRule)
Response
ResponseRule. applyResponseRule(DispatchRule dispatchRule)
Response
TransletRule. applyResponseRule(DispatchRule dispatchRule)
static ResponseRule
ResponseRule. newInstance(DispatchRule dispatchRule)
static DispatchRule
DispatchRule. replicate(DispatchRule dispatchRule)
Returns a new derived instance of DispatchRule. -
Uses of DispatchRule in com.aspectran.core.context.rule.ability
Methods in com.aspectran.core.context.rule.ability with parameters of type DispatchRule Modifier and Type Method Description Response
ResponseRuleApplicable. applyResponseRule(DispatchRule dispatchRule)
Apply the dispatch rule to the response rule. -
Uses of DispatchRule in com.aspectran.core.context.rule.converter
Methods in com.aspectran.core.context.rule.converter with parameters of type DispatchRule Modifier and Type Method Description static DispatchParameters
RulesToParameters. toDispatchParameters(DispatchRule dispatchRule)
-
Uses of DispatchRule in com.aspectran.freemarker.view
Methods in com.aspectran.freemarker.view with parameters of type DispatchRule Modifier and Type Method Description void
FreeMarkerViewDispatcher. dispatch(Activity activity, DispatchRule dispatchRule)
-
Uses of DispatchRule in com.aspectran.pebble.view
Methods in com.aspectran.pebble.view with parameters of type DispatchRule Modifier and Type Method Description void
PebbleViewDispatcher. dispatch(Activity activity, DispatchRule dispatchRule)
-
Uses of DispatchRule in com.aspectran.web.support.view
Methods in com.aspectran.web.support.view with parameters of type DispatchRule Modifier and Type Method Description void
JspTemplateViewDispatcher. dispatch(Activity activity, DispatchRule dispatchRule)
void
JspViewDispatcher. dispatch(Activity activity, DispatchRule dispatchRule)
-