| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<McpSchema.LoggingMessageNotification> |
McpAsyncClient.LOGGING_MESSAGE_NOTIFICATION_TYPE_REF |
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.loggingConsumer(Consumer<McpSchema.LoggingMessageNotification> loggingConsumer)
Adds a consumer to be notified when logging messages are received from the
server.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.loggingConsumer(Function<McpSchema.LoggingMessageNotification,reactor.core.publisher.Mono<Void>> loggingConsumer)
Adds a consumer to be notified when logging messages are received from the
server.
|
McpClient.SyncSpec |
McpClient.SyncSpec.loggingConsumers(List<Consumer<McpSchema.LoggingMessageNotification>> loggingConsumers)
Adds multiple consumers to be notified when logging messages are received from
the server.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.loggingConsumers(List<Function<McpSchema.LoggingMessageNotification,reactor.core.publisher.Mono<Void>>> loggingConsumers)
Adds multiple consumers to be notified when logging messages are received from
the server.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServerExchange.loggingNotification(McpSchema.LoggingMessageNotification loggingMessageNotification)
Send a logging message notification to the client.
|
void |
McpSyncServerExchange.loggingNotification(McpSchema.LoggingMessageNotification loggingMessageNotification)
Send a logging message notification to the client.
|
reactor.core.publisher.Mono<Void> |
McpAsyncServer.loggingNotification(McpSchema.LoggingMessageNotification loggingMessageNotification)
Deprecated.
Use
McpAsyncServerExchange#loggingNotification(LoggingMessageNotification)
instead. |
void |
McpSyncServer.loggingNotification(McpSchema.LoggingMessageNotification loggingMessageNotification)
Deprecated.
Use
McpSyncServerExchange#loggingNotification(LoggingMessageNotification)
instead. |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.LoggingMessageNotification |
McpSchema.LoggingMessageNotification.Builder.build() |
Copyright © 2025. All rights reserved.