Package org.springframework.ai.mcp.annotation.method.progress
package org.springframework.ai.mcp.annotation.method.progress
Method callbacks and specifications for MCP progress reporting.
-
ClassDescriptionAbstract base class for creating callbacks around progress methods.AbstractMcpProgressMethodCallback.AbstractBuilder<T extends AbstractMcpProgressMethodCallback.AbstractBuilder<T,
R>, R> Abstract builder for creating McpProgressMethodCallback instances.Exception thrown when there is an error invoking a progress method.Asynchronous implementation of a progress method callback.Builder for creating AsyncMcpProgressMethodCallback instances.A reactive progress handler for the connections that speak the 2026-07-28 ("modern") MCP revision, the counterpart ofAsyncProgressSpecification.Specification for asynchronous progress handlers.Synchronous implementation of a progress method callback.Builder for creating SyncMcpProgressMethodCallback instances.A progress handler for the connections that speak the 2026-07-28 ("modern") MCP revision, the counterpart ofSyncProgressSpecification.Specification for synchronous progress handlers.