| Package | Description |
|---|---|
| io.modelcontextprotocol.client |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.ReadResourceResult |
McpSyncClient.readResource(McpSchema.Resource resource)
Send a resources/read request.
|
reactor.core.publisher.Mono<McpSchema.ReadResourceResult> |
McpAsyncClient.readResource(McpSchema.Resource resource)
Reads the content of a specific resource identified by the provided Resource
object.
|
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.resourcesChangeConsumer(Consumer<List<McpSchema.Resource>> resourcesChangeConsumer)
Adds a consumer to be notified when the available resources change.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.resourcesChangeConsumer(Function<List<McpSchema.Resource>,reactor.core.publisher.Mono<Void>> resourcesChangeConsumer)
Adds a consumer to be notified when the available resources change.
|
Copyright © 2025. All rights reserved.