Uses of Record Class
org.springframework.ai.mcp.modern.AsyncResourceTemplateRegistration
Packages that use AsyncResourceTemplateRegistration
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 AsyncResourceTemplateRegistration in org.springframework.ai.mcp.annotation.provider.resource
Methods in org.springframework.ai.mcp.annotation.provider.resource that return types with arguments of type AsyncResourceTemplateRegistration -
Uses of AsyncResourceTemplateRegistration in org.springframework.ai.mcp.annotation.spring
Methods in org.springframework.ai.mcp.annotation.spring that return types with arguments of type AsyncResourceTemplateRegistrationModifier and TypeMethodDescriptionAsyncMcpAnnotationProviders.modernResourceTemplates(List<Object> resourceObjects) AsyncMcpAnnotationProviders.modernResourceTemplates(List<Object> resourceObjects, @Nullable io.modelcontextprotocol.json.McpJsonMapper jsonMapper) AsyncMcpAnnotationProviders.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 AsyncResourceTemplateRegistration in org.springframework.ai.mcp.modern
Methods in org.springframework.ai.mcp.modern that return AsyncResourceTemplateRegistrationModifier and TypeMethodDescriptionAsyncResourceTemplateRegistration.of(io.modelcontextprotocol.modern.McpSchema.ResourceTemplate resourceTemplate, io.modelcontextprotocol.modern.McpSchema.ClientCapabilities requiredCapabilities, io.modelcontextprotocol.modern.server.feature.McpAsyncResource.Handler handler) Pairs a resource template with a handler that only works with clients declaringrequiredCapabilities.AsyncResourceTemplateRegistration.of(io.modelcontextprotocol.modern.McpSchema.ResourceTemplate resourceTemplate, io.modelcontextprotocol.modern.server.feature.McpAsyncResource.Handler handler) Pairs a resource template with a handler that requires no client capabilities.AsyncResourceTemplateRegistration.withCompletionHandler(io.modelcontextprotocol.modern.server.feature.McpAsyncCompletionHandler 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 AsyncResourceTemplateRegistrationModifier and TypeMethodDescriptionvoidInMemoryAsyncResourceRepository.add(AsyncResourceTemplateRegistration registration) Adds a resource template and notifies listening clients.InMemoryAsyncResourceRepository.Builder.resourceTemplate(AsyncResourceTemplateRegistration registration) Method parameters in org.springframework.ai.mcp.modern with type arguments of type AsyncResourceTemplateRegistrationModifier and TypeMethodDescriptionInMemoryAsyncResourceRepository.Builder.resourceTemplates(List<AsyncResourceTemplateRegistration> registrations) -
Uses of AsyncResourceTemplateRegistration 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 AsyncResourceTemplateRegistrationModifier and TypeMethodDescriptionModernServerSpecificationFactoryAutoConfiguration.modernAsyncResourceTemplates(McpServerAnnotationScannerAutoConfiguration.ServerMcpAnnotatedBeans beansWithMcpMethodAnnotations, org.springframework.beans.factory.ObjectProvider<tools.jackson.databind.json.JsonMapper> jsonMapper)