public static class WildcardSelectionKey.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WildcardSelectionKey |
build() |
WildcardSelectionKey.Builder |
copy(WildcardSelectionKey model) |
WildcardSelectionKey.Builder |
expression(String expression)
A selection key string containing a wildcard to match with the context variable in an
incoming request.
|
WildcardSelectionKey.Builder |
isDefault(Boolean isDefault) |
WildcardSelectionKey.Builder |
name(String name) |
public WildcardSelectionKey.Builder isDefault(Boolean isDefault)
public WildcardSelectionKey.Builder name(String name)
public WildcardSelectionKey.Builder expression(String expression)
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.
expression
- the value to setpublic WildcardSelectionKey build()
public WildcardSelectionKey.Builder copy(WildcardSelectionKey model)
Copyright © 2016–2024. All rights reserved.