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