-
- All Implemented Interfaces:
-
com.hexagonkt.http.patterns.PathPattern
public final class TemplatePathPattern implements PathPattern
A path definition. It parses path patterns and extract values for parameters.
No splat support (you can use named parameters though).
Delimiter is {var} to conform with RFC 6570.
-
-
Constructor Summary
Constructors Constructor Description TemplatePathPattern(String pattern, Boolean prefix)
-
Method Summary
Modifier and Type Method Description StringgetPattern()BooleangetPrefix()-
-
Method Detail
-
getPattern
String getPattern()
-
getPrefix
Boolean getPrefix()
-
-
-
-