| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
void |
McpSyncServer.addResource(McpServerFeatures.SyncResourceRegistration resourceHandler)
Deprecated.
This method will be removed in 0.9.0. Use
McpSyncServer.addResource(McpServerFeatures.SyncResourceSpecification). |
McpServer.SyncSpec |
McpServer.SyncSpec.resources(McpServerFeatures.SyncResourceRegistration... resourceRegistrations)
Deprecated.
Registers multiple resources with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.SyncSpec |
McpServer.SyncSpec.resources(List<McpServerFeatures.SyncResourceRegistration> resourceRegsitrations)
Deprecated.
Registers multiple resources with their handlers using a List.
|
McpServer.SyncSpec |
McpServer.SyncSpec.resources(Map<String,McpServerFeatures.SyncResourceRegistration> resourceRegsitrations)
Deprecated.
Registers multiple resources with their handlers using a Map.
|
Copyright © 2025. All rights reserved.