Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WildcardSelectionKey

When dynamically routing and dynamically authenticating requests, the route or authentication server associated with a selection key containing a wildcard is used if the context variable in an incoming request matches that key.

Properties

expression

expression: string

A selection key string containing a wildcard to match with the context variable in an incoming request. If the context variable matches the string, the request is sent to the route or authentication server associated with the selection key. Valid wildcards are '*' (zero or more characters) and '+' (one or more characters). The string can only contain one wildcard, and the wildcard must be at the start or the end of the string.

Optional isDefault

isDefault: undefined | false | true

Specifies whether to use the route or authentication server associated with this selection key as the default. The default is used if the value of a context variable in an incoming request does not match any of the other selection key values when dynamically routing and dynamically authenticating requests.

name

name: string

Name assigned to the branch.

Const type

type: string = "WILDCARD"

Methods

getDeserializedJsonObj

getJsonObj