The "if" interceptor supports conditional execution of nested plugins.
See: - com.predic8.membrane.core.interceptor.flow.IfInterceptorSpELTest - com.predic8.membrane.core.interceptor.flow.IfInterceptorGroovyTest - com.predic8.membrane.core.interceptor.flow.IfInterceptorJsonpathTest - com.predic8.membrane.core.interceptor.flow.IfInterceptorXPathTestName | Required | Default | Description | Example |
---|---|---|---|---|
test | true | - | the condition to be tested | exc.request.header.userAgentSupportsSNI |
language | false | groovy |
the language of the 'test' condition | SpEL, groovy, jsonpath, xpath |
Elements | Description | Cardinality |
---|---|---|
response | 0..* | |
request | 0..* | |
abort | 0..* | |
echo | 0..* |