-
- All Implemented Interfaces:
-
com.hexagonkt.http.patterns.PathPattern
public final class RegexPathPattern implements PathPattern
-
-
Constructor Summary
Constructors Constructor Description RegexPathPattern(Regex regex)
-
Method Summary
Modifier and Type Method Description StringgetPattern()BooleangetPrefix()final List<String>getParameters()final RegexgetRegex()PathPatternaddPrefix(String prefix)Booleanmatches(String requestUrl)Map<String, String>extractParameters(String requestUrl)-
-
Constructor Detail
-
RegexPathPattern
RegexPathPattern(Regex regex)
-
-
Method Detail
-
getPattern
String getPattern()
-
getParameters
final List<String> getParameters()
-
addPrefix
PathPattern addPrefix(String prefix)
-
extractParameters
Map<String, String> extractParameters(String requestUrl)
-
-
-
-