Class HandlerUtils
java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.utils.HandlerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidhandleInternalError(RpcRequestContext context, Throwable t) Handles internal error by completing the response future with an error response.static voidhandleTaskNotCancelable(RpcRequestContext context, Throwable t) Handles internal error by completing the response future with an error response.static voidhandleTaskNotFound(RpcRequestContext context)
-
Constructor Details
-
HandlerUtils
public HandlerUtils()
-
-
Method Details
-
handleTaskNotFound
-
handleInternalError
Handles internal error by completing the response future with an error response. -
handleTaskNotCancelable
Handles internal error by completing the response future with an error response.
-