Simple Location Interpreter
Description
A simple location interpreter to be used to extract a value either from a query parameter or with a regex from the whole location URL.
Properties
Default Value (
defaultValue) Description
The default value to be returned if no value could be extracted.
Attributes
String
Optional
From Query Param (
fromQueryParam) Description
Query param from which the value should be extracted.
Attributes
String
Optional
Example
lang
With URL Regex (
withUrlRegex) Description
Regex to extract the value from the whole location URL. The value to be extracted (the capturing group) has to be surrounded by parentheses.
Attributes
RegEx
Optional
Transform To Lowercase (
transformToLowercase) Description
If enabled, the extracted value is transformed to lowercase.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)
type: SimpleLocationInterpreter
id: SimpleLocationInterpreter-xxxxxx
displayName:
comment:
properties:
defaultValue:
fromQueryParam:
transformToLowercase: false
withUrlRegex: