Package io.modelcontextprotocol.util
Interface McpUriTemplateManagerFactory
- All Known Implementing Classes:
DeafaultMcpUriTemplateManagerFactory
public interface McpUriTemplateManagerFactory
Factory interface for creating instances of
McpUriTemplateManager.- Author:
- Christian Tzolov
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance ofMcpUriTemplateManagerwith the specified URI template.
-
Method Details
-
create
Creates a new instance ofMcpUriTemplateManagerwith the specified URI template.- Parameters:
uriTemplate- The URI template to be used for variable extraction- Returns:
- A new instance of
McpUriTemplateManager - Throws:
IllegalArgumentException- if the URI template is null or empty
-