public class ConditionalInterceptor extends AbstractFlowInterceptor
The "if" interceptor supports conditional execution of a group of executors.
Note that this is a draft implementation only: Design decissions are still pending.
<request><if test="..."><A /></if></response>| Modifier and Type | Class and Description |
|---|---|
static class |
ConditionalInterceptor.LanguageType |
Interceptor.Flowid, name, router| Constructor and Description |
|---|
ConditionalInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
ConditionalInterceptor.LanguageType |
getLanguage() |
String |
getShortDescription() |
String |
getTest() |
Outcome |
handleRequest(Exchange exchange) |
void |
init(Router router) |
void |
setLanguage(ConditionalInterceptor.LanguageType language) |
void |
setTest(String test) |
getInterceptors, setInterceptorsgetDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, handleAbort, handleResponse, init, setDisplayName, setFlow, setIdpublic void init(Router router) throws Exception
init in interface Interceptorinit in class AbstractFlowInterceptorExceptionpublic Outcome handleRequest(Exchange exchange) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic ConditionalInterceptor.LanguageType getLanguage()
public void setLanguage(ConditionalInterceptor.LanguageType language)
public String getTest()
public void setTest(String test)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorCopyright © 2019. All Rights Reserved.