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.IfInterceptorXPathTest| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| 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 |
|---|---|---|
| request | 0..* | |
| abort | 0..* | |
| response | 0..* | |
| echo | 0..* |