SPEL) during the request flow.
Typical usage inside <apiKey>:
<apiKey>
<expressionExtractor
language="SPEL"
expression="request.headers['X-Api-Key']"/>
</apiKey>
If the expression evaluates to null or an empty string, no key is extracted.
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| expression | false | - | The expression evaluated against the message. It must resolve to a String containing the API key. Empty or null results mean “no key found”.
Examples (SPEL):
|
- |
| language | false | - | - | - |