Class AsyncMcpPromptProvider
java.lang.Object
org.springframework.ai.mcp.annotation.provider.prompt.AsyncMcpPromptProvider
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncMcpPromptProvider(List<Object> promptObjects) Create a new AsyncMcpPromptProvider. -
Method Summary
Modifier and TypeMethodDescriptionprotected Method[]doGetClassMethods(Object bean) Returns the methods of the given bean class.List<io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification> Get the async prompt specifications.
-
Constructor Details
-
AsyncMcpPromptProvider
-
-
Method Details
-
getPromptSpecifications
public List<io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification> getPromptSpecifications()Get the async prompt specifications.- Returns:
- the list of async prompt specifications
-
doGetClassMethods
-