| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServer.addResource(McpServerFeatures.AsyncResourceRegistration resourceHandler)
Deprecated.
This method will be removed in 0.9.0. Use
McpAsyncServer.addResource(McpServerFeatures.AsyncResourceSpecification). |
McpServer.AsyncSpec |
McpServer.AsyncSpec.resources(McpServerFeatures.AsyncResourceRegistration... resourceRegistrations)
Deprecated.
Registers multiple resources with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.AsyncSpec |
McpServer.AsyncSpec.resources(List<McpServerFeatures.AsyncResourceRegistration> resourceRegsitrations)
Deprecated.
Registers multiple resources with their handlers using a List.
|
McpServer.AsyncSpec |
McpServer.AsyncSpec.resources(Map<String,McpServerFeatures.AsyncResourceRegistration> resourceRegsitrations)
Deprecated.
Registers multiple resources with their handlers using a Map.
|
Copyright © 2025. All rights reserved.