Class ReactiveUtils
java.lang.Object
org.springframework.ai.mcp.annotation.method.tool.ReactiveUtils
-
Method Summary
Modifier and TypeMethodDescriptiongetReactiveReturnTypeArgument(Method method) static booleanCheck if the given type is a reactive type containing CallToolResult (e.g., Mono, Flux , Publisher ) static booleanisReactiveReturnTypeOfVoid(Method method) Check if the given type is a reactive type containing Void (e.g., Mono, Flux , Publisher )
-
Method Details
-
isReactiveReturnTypeOfVoid
Check if the given type is a reactive type containing Void (e.g., Mono, Flux , Publisher ) -
isReactiveReturnTypeOfCallToolResult
Check if the given type is a reactive type containing CallToolResult (e.g., Mono, Flux , Publisher ) -
getReactiveReturnTypeArgument
-