| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
McpServerFeatures.SyncResourceSpecification |
McpServerFeatures.SyncResourceRegistration.toSpecification()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
McpSyncServer.addResource(McpServerFeatures.SyncResourceSpecification resourceHandler)
Add a new resource handler.
|
McpServer.SyncSpecification |
McpServer.SyncSpecification.resources(McpServerFeatures.SyncResourceSpecification... resourceSpecifications)
Registers multiple resources with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.SyncSpecification |
McpServer.SyncSpecification.resources(List<McpServerFeatures.SyncResourceSpecification> resourceSpecifications)
Registers multiple resources with their handlers using a List.
|
McpServer.SyncSpecification |
McpServer.SyncSpecification.resources(Map<String,McpServerFeatures.SyncResourceSpecification> resourceSpecifications)
Registers multiple resources with their handlers using a Map.
|
Copyright © 2025. All rights reserved.