Uses of Record Class
io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification
Packages that use McpServerFeatures.SyncResourceSpecification
-
Uses of McpServerFeatures.SyncResourceSpecification in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return McpServerFeatures.SyncResourceSpecificationModifier and TypeMethodDescriptionMcpServerFeatures.SyncResourceRegistration.toSpecification()Deprecated.Methods in io.modelcontextprotocol.server with parameters of type McpServerFeatures.SyncResourceSpecificationModifier and TypeMethodDescriptionvoidMcpSyncServer.addResource(McpServerFeatures.SyncResourceSpecification resourceHandler) Add a new resource handler.McpServer.SyncSpecification.resources(McpServerFeatures.SyncResourceSpecification... resourceSpecifications) Registers multiple resources with their handlers using varargs.Method parameters in io.modelcontextprotocol.server with type arguments of type McpServerFeatures.SyncResourceSpecificationModifier and TypeMethodDescriptionMcpServer.SyncSpecification.resources(List<McpServerFeatures.SyncResourceSpecification> resourceSpecifications) Registers multiple resources with their handlers using a List.McpServer.SyncSpecification.resources(Map<String, McpServerFeatures.SyncResourceSpecification> resourceSpecifications) Registers multiple resources with their handlers using a Map.