| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.server |
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<McpSchema.ProgressNotification> |
McpAsyncClient.PROGRESS_NOTIFICATION_TYPE_REF |
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.progressConsumer(Consumer<McpSchema.ProgressNotification> progressConsumer)
Adds a consumer to be notified of progress notifications from the server.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.progressConsumer(Function<McpSchema.ProgressNotification,reactor.core.publisher.Mono<Void>> progressConsumer)
Adds a consumer to be notified of progress notifications from the server.
|
McpClient.SyncSpec |
McpClient.SyncSpec.progressConsumers(List<Consumer<McpSchema.ProgressNotification>> progressConsumers)
Adds a multiple consumers to be notified of progress notifications from the
server.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.progressConsumers(List<Function<McpSchema.ProgressNotification,reactor.core.publisher.Mono<Void>>> progressConsumers)
Adds a multiple consumers to be notified of progress notifications from the
server.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServerExchange.progressNotification(McpSchema.ProgressNotification progressNotification)
Sends a notification to the client that the current progress status has changed for
long-running operations.
|
void |
McpSyncServerExchange.progressNotification(McpSchema.ProgressNotification progressNotification)
Sends a notification to the client that the current progress status has changed for
long-running operations.
|
Copyright © 2025. All rights reserved.