java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.utils.HandlerUtils

public class HandlerUtils extends Object
  • Constructor Details

    • HandlerUtils

      public HandlerUtils()
  • Method Details

    • handleTaskNotFound

      public static void handleTaskNotFound(RpcRequestContext context)
    • handleInternalError

      public static void handleInternalError(RpcRequestContext context, Throwable t)
      Handles internal error by completing the response future with an error response.
    • handleTaskNotCancelable

      public static void handleTaskNotCancelable(RpcRequestContext context, Throwable t)
      Handles internal error by completing the response future with an error response.