Syntax
case:
test: <string> # required
'$ref': <string>
flow:
- <flow>
language: groovy
xmlConfig: {}
case:
test: <string> # required
'$ref': <string>
flow:
- <flow>
language: groovy
xmlConfig: {}
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| $ref | false | - | Reference a component defined under components. | - |
| language | false | groovy | the language of the 'test' condition | SpEL, groovy, jsonpath, xpath |
| test | true | - | the condition to be tested XPath and JSONPath query the body. An empty body, or one of another media type, is evaluated as an empty document: In XPath, a comparison with a missing element is false for both | exc.request.header.userAgentSupportsSNI |