Class ReactiveUtils
java.lang.Object
org.springaicommunity.mcp.method.tool.ReactiveUtils
-
Constructor Summary
Constructors -
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 )
-
Constructor Details
-
ReactiveUtils
public ReactiveUtils()
-
-
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
-