Package org.springframework.ai.mcp.annotation.method.complete
package org.springframework.ai.mcp.annotation.method.complete
Method callbacks for MCP completion (chat) requests, sync and async.
-
ClassDescriptionAbstract base class for creating callbacks around complete methods.AbstractMcpCompleteMethodCallback.AbstractBuilder<T extends AbstractMcpCompleteMethodCallback.AbstractBuilder<T,
R>, R> Abstract builder for creating McpCompleteMethodCallback instances.Exception thrown when there is an error invoking a complete method.Class for creating BiFunction callbacks around complete methods with asynchronous support.Builder for creating AsyncMcpCompleteMethodCallback instances.Class for creating BiFunction callbacks around complete methods with asynchronous processing for stateless contexts.Builder for creating AsyncStatelessMcpCompleteMethodCallback instances.Class for creating BiFunction callbacks around complete methods.Builder for creating SyncMcpCompleteMethodCallback instances.Class for creating BiFunction callbacks around complete methods for stateless contexts.Builder for creating SyncStatelessMcpCompleteMethodCallback instances.