Uses of Record Class
org.springframework.ai.mcp.modern.SyncResourceTemplateRegistration
Packages that use SyncResourceTemplateRegistration
Package
Description
MCP providers that expose resource read handlers to the transport layer.
Support for MCP servers implementing the 2026-07-28 ("modern") specification revision,
built on the
io.modelcontextprotocol.modern server API of the MCP Java SDK.-
Uses of SyncResourceTemplateRegistration in org.springframework.ai.mcp.annotation.provider.resource
Methods in org.springframework.ai.mcp.annotation.provider.resource that return types with arguments of type SyncResourceTemplateRegistration -
Uses of SyncResourceTemplateRegistration in org.springframework.ai.mcp.annotation.spring
Methods in org.springframework.ai.mcp.annotation.spring that return types with arguments of type SyncResourceTemplateRegistrationModifier and TypeMethodDescriptionstatic List<SyncResourceTemplateRegistration>SyncMcpAnnotationProviders.modernResourceTemplates(List<Object> resourceObjects) static List<SyncResourceTemplateRegistration>SyncMcpAnnotationProviders.modernResourceTemplates(List<Object> resourceObjects, @Nullable io.modelcontextprotocol.json.McpJsonMapper jsonMapper) static List<SyncResourceTemplateRegistration>SyncMcpAnnotationProviders.modernResourceTemplates(List<Object> resourceObjects, List<Object> completeObjects, @Nullable io.modelcontextprotocol.json.McpJsonMapper jsonMapper) The resource templates of the@McpResourcemethods, each with the completion handler of the@McpComplete(uri = ...)method that names its URI template. -
Uses of SyncResourceTemplateRegistration in org.springframework.ai.mcp.modern
Methods in org.springframework.ai.mcp.modern that return SyncResourceTemplateRegistrationModifier and TypeMethodDescriptionSyncResourceTemplateRegistration.of(io.modelcontextprotocol.modern.McpSchema.ResourceTemplate resourceTemplate, io.modelcontextprotocol.modern.McpSchema.ClientCapabilities requiredCapabilities, io.modelcontextprotocol.modern.server.feature.McpSyncResource.Handler handler) Pairs a resource template with a handler that only works with clients declaringrequiredCapabilities.SyncResourceTemplateRegistration.of(io.modelcontextprotocol.modern.McpSchema.ResourceTemplate resourceTemplate, io.modelcontextprotocol.modern.server.feature.McpSyncResource.Handler handler) Pairs a resource template with a handler that requires no client capabilities.SyncResourceTemplateRegistration.withCompletionHandler(io.modelcontextprotocol.modern.server.feature.McpSyncCompletionHandler completionHandler) This registration with the template's variables completed bycompletionHandler, when its repository supports completion.Methods in org.springframework.ai.mcp.modern with parameters of type SyncResourceTemplateRegistrationModifier and TypeMethodDescriptionvoidInMemorySyncResourceRepository.add(SyncResourceTemplateRegistration registration) Adds a resource template and notifies listening clients.InMemorySyncResourceRepository.Builder.resourceTemplate(SyncResourceTemplateRegistration registration) Method parameters in org.springframework.ai.mcp.modern with type arguments of type SyncResourceTemplateRegistrationModifier and TypeMethodDescriptionInMemorySyncResourceRepository.Builder.resourceTemplates(List<SyncResourceTemplateRegistration> registrations) -
Uses of SyncResourceTemplateRegistration in org.springframework.ai.mcp.server.common.autoconfigure.annotations
Methods in org.springframework.ai.mcp.server.common.autoconfigure.annotations that return types with arguments of type SyncResourceTemplateRegistrationModifier and TypeMethodDescriptionModernServerSpecificationFactoryAutoConfiguration.modernResourceTemplates(McpServerAnnotationScannerAutoConfiguration.ServerMcpAnnotatedBeans beansWithMcpMethodAnnotations, org.springframework.beans.factory.ObjectProvider<tools.jackson.databind.json.JsonMapper> jsonMapper)