keycloak
|
静的公開メンバ関数 | |
static String | replaceEnclosedCurlyBraces (String str) |
static String | recoverEnclosedCurlyBraces (String str) |
静的公開変数類 | |
static final String | URI_PARAM_NAME_REGEX = "\\w[\\w\\.-]*" |
static final String | URI_PARAM_REGEX_REGEX = "[^{}][^{}]*" |
static final String | URI_PARAM_REGEX = "\\{\\s*(" + URI_PARAM_NAME_REGEX + ")\\s*(:\\s*(" + URI_PARAM_REGEX_REGEX + "))?\\}" |
static final Pattern | URI_PARAM_PATTERN = Pattern.compile(URI_PARAM_REGEX) |
static final Pattern | URI_TEMPLATE_PATTERN = Pattern.compile("(\\{([^}]+)\\})") |
static final char | openCurlyReplacement = 6 |
static final char | closeCurlyReplacement = 7 |
A utility class for handling URI template parameters. As the Java regulare expressions package does not handle named groups, this class attempts to simulate that functionality by using groups.
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
A regex pattern that searches for a URI template parameter in the form of {*}