Package org.keycloak.common.util
Class PathHelper
- java.lang.Object
- 
- org.keycloak.common.util.PathHelper
 
- 
 public class PathHelper extends Object 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.- Since:
- 1.0 Nov 8, 2006
- Author:
- Ryan J. McDonough, Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description static charcloseCurlyReplacementstatic charopenCurlyReplacementstatic StringURI_PARAM_NAME_REGEXstatic PatternURI_PARAM_PATTERNstatic StringURI_PARAM_REGEXstatic StringURI_PARAM_REGEX_REGEXstatic PatternURI_TEMPLATE_PATTERNA regex pattern that searches for a URI template parameter in the form of {*}
 - 
Constructor SummaryConstructors Constructor Description PathHelper()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringrecoverEnclosedCurlyBraces(String str)static StringreplaceEnclosedCurlyBraces(String str)
 
- 
- 
- 
Field Detail- 
URI_PARAM_NAME_REGEXpublic static final String URI_PARAM_NAME_REGEX - See Also:
- Constant Field Values
 
 - 
URI_PARAM_REGEX_REGEXpublic static final String URI_PARAM_REGEX_REGEX - See Also:
- Constant Field Values
 
 - 
URI_PARAM_REGEXpublic static final String URI_PARAM_REGEX - See Also:
- Constant Field Values
 
 - 
URI_PARAM_PATTERNpublic static final Pattern URI_PARAM_PATTERN 
 - 
URI_TEMPLATE_PATTERNpublic static final Pattern URI_TEMPLATE_PATTERN A regex pattern that searches for a URI template parameter in the form of {*}
 - 
openCurlyReplacementpublic static final char openCurlyReplacement - See Also:
- Constant Field Values
 
 - 
closeCurlyReplacementpublic static final char closeCurlyReplacement - See Also:
- Constant Field Values
 
 
- 
 
-