ResourceTemplateMatcher
Matches resource URIs against a ResourceTemplate.
Implementations parse a URI template once at construction time and then match candidate URIs against that template via match. The returned MatchResult.score must reflect match specificity so that a selection algorithm can prefer the most specific template when multiple templates match the same URI.