ResourceTemplateMatcherFactory

Factory interface for creating instances of ResourceTemplateMatcher.

A ResourceTemplateMatcher is used to match resource URIs against a given ResourceTemplate, which adheres to the RFC 6570 URI Template specification. This factory abstracts the creation process of a matcher, allowing different implementations to define custom matching logic or safeguards (e.g., security measures or restrictions on template complexity).

Functions

Link copied to clipboard
abstract fun create(resourceTemplate: ResourceTemplate): ResourceTemplateMatcher

Creates a resource template matcher for the given resource template.