Uses of Record Class
io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceRegistration
Packages that use McpServerFeatures.AsyncResourceRegistration
-
Uses of McpServerFeatures.AsyncResourceRegistration in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server with parameters of type McpServerFeatures.AsyncResourceRegistrationModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>McpAsyncServer.addResource(McpServerFeatures.AsyncResourceRegistration resourceHandler) Add a new resource handler at runtime.McpServer.AsyncSpec.resources(McpServerFeatures.AsyncResourceRegistration... resourceRegistrations) Registers multiple resources with their handlers using varargs.Method parameters in io.modelcontextprotocol.server with type arguments of type McpServerFeatures.AsyncResourceRegistrationModifier and TypeMethodDescriptionMcpServer.AsyncSpec.resources(List<McpServerFeatures.AsyncResourceRegistration> resourceRegsitrations) Registers multiple resources with their handlers using a List.McpServer.AsyncSpec.resources(Map<String, McpServerFeatures.AsyncResourceRegistration> resourceRegsitrations) Registers multiple resources with their handlers using a Map.