Uses of Class
org.a2aproject.sdk.spec.A2AClientException
Packages that use A2AClientException
Package
Description
General-purpose utilities for the A2A SDK.
-
Uses of A2AClientException in org.a2aproject.sdk.client
Methods in org.a2aproject.sdk.client that throw A2AClientExceptionModifier and TypeMethodDescriptionClientBuilder.build()Build the configuredClientinstance.AbstractClient.cancelTask(CancelTaskParams request) Request the agent to cancel a specific task.abstract TaskAbstractClient.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request the agent to cancel a specific task.Client.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request cancellation of a task.AbstractClient.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request) Create or update the push notification configuration for a specific task.abstract TaskPushNotificationConfigAbstractClient.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) Create or update the push notification configuration for a specific task.Client.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) Configure push notifications for a task.voidAbstractClient.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request) Delete the list of push notification configurations for a specific task.abstract voidAbstractClient.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Delete the list of push notification configurations for a specific task.voidClient.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Delete push notification configurations.AbstractClient.getExtendedAgentCard()Retrieve the extended AgentCard.AbstractClient.getExtendedAgentCard(@Nullable String tenant) Retrieve the extended AgentCard.abstract AgentCardAbstractClient.getExtendedAgentCard(@Nullable String tenant, @Nullable ClientCallContext context) Retrieve the extended AgentCard.AbstractClient.getExtendedAgentCard(@Nullable ClientCallContext context) Retrieve the extended AgentCard.Client.getExtendedAgentCard(@Nullable String tenant, @Nullable ClientCallContext context) Retrieve the agent's extended agent card.AbstractClient.getTask(TaskQueryParams request) Retrieve the current state and history of a specific task.abstract TaskAbstractClient.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve the current state and history of a specific task.Client.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve a specific task by ID.AbstractClient.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request) Retrieve the push notification configuration for a specific task.abstract TaskPushNotificationConfigAbstractClient.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Retrieve the push notification configuration for a specific task.Client.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Retrieve the push notification configuration for a task.AbstractClient.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request) Retrieve the list of push notification configurations for a specific task with pagination support.AbstractClient.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) Retrieve the list of push notification configurations for a specific task with pagination support.Client.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) List all push notification configurations, optionally filtered by task or context.AbstractClient.listTasks(ListTasksParams request) List tasks with optional filtering and pagination.abstract ListTasksResultAbstractClient.listTasks(ListTasksParams request, @Nullable ClientCallContext context) List tasks with optional filtering and pagination.Client.listTasks(ListTasksParams request, @Nullable ClientCallContext context) List tasks for the current session or context.voidAbstractClient.sendMessage(@NonNull Message request) Send a message to the remote agent.voidAbstractClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler) Send a message to the remote agent.abstract voidAbstractClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Send a message to the remote agent.voidAbstractClient.sendMessage(@NonNull Message request, @Nullable ClientCallContext context) Send a message to the remote agent.voidAbstractClient.sendMessage(@NonNull Message request, @Nullable TaskPushNotificationConfig pushNotificationConfiguration, @Nullable Map<String, Object> metadata) Send a message to the remote agent.abstract voidAbstractClient.sendMessage(@NonNull Message request, @Nullable TaskPushNotificationConfig pushNotificationConfiguration, @Nullable Map<String, Object> metadata, @Nullable ClientCallContext context) Send a message to the remote agent.abstract voidAbstractClient.sendMessage(@NonNull MessageSendParams params, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Send a message to the remote agent.voidClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) voidClient.sendMessage(@NonNull Message request, @Nullable TaskPushNotificationConfig pushNotificationConfiguration, @Nullable Map<String, Object> metadata, @Nullable ClientCallContext context) Send a message to the agent.voidClient.sendMessage(@NonNull MessageSendParams messageSendParams, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request) Subscribe to a task's event stream.voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler) Subscribe to a task's event stream.abstract voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Subscribe to a task's event stream.voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request, @Nullable ClientCallContext context) Subscribe to a task's event stream.voidClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Subscribe to an existing task to receive remaining events. -
Uses of A2AClientException in org.a2aproject.sdk.client.transport.grpc
Methods in org.a2aproject.sdk.client.transport.grpc that return A2AClientExceptionModifier and TypeMethodDescriptionstatic A2AClientExceptionGrpcErrorMapper.mapGrpcError(Throwable e) static A2AClientExceptionGrpcErrorMapper.mapGrpcError(Throwable e, String errorPrefix) Methods in org.a2aproject.sdk.client.transport.grpc that throw A2AClientExceptionModifier and TypeMethodDescriptionGrpcTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) GrpcTransportProvider.create(GrpcTransportConfig grpcTransportConfig, AgentCard agentCard, AgentInterface agentInterface) GrpcTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) voidGrpcTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) GrpcTransport.getExtendedAgentCard(GetExtendedAgentCardParams params, @Nullable ClientCallContext context) GrpcTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) GrpcTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) GrpcTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) GrpcTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) GrpcTransport.sendMessage(MessageSendParams request, @Nullable ClientCallContext context) voidGrpcTransport.sendMessageStreaming(MessageSendParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) voidGrpcTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) -
Uses of A2AClientException in org.a2aproject.sdk.client.transport.jsonrpc
Methods in org.a2aproject.sdk.client.transport.jsonrpc that throw A2AClientExceptionModifier and TypeMethodDescriptionJSONRPCTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) JSONRPCTransportProvider.create(@Nullable JSONRPCTransportConfig clientTransportConfig, AgentCard agentCard, AgentInterface agentInterface) JSONRPCTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) voidJSONRPCTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) JSONRPCTransport.getExtendedAgentCard(GetExtendedAgentCardParams params, @Nullable ClientCallContext context) JSONRPCTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) JSONRPCTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) JSONRPCTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) JSONRPCTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) JSONRPCTransport.sendMessage(MessageSendParams request, @Nullable ClientCallContext context) voidJSONRPCTransport.sendMessageStreaming(MessageSendParams request, Consumer<StreamingEventKind> eventConsumer, @Nullable Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) voidJSONRPCTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) -
Uses of A2AClientException in org.a2aproject.sdk.client.transport.rest
Methods in org.a2aproject.sdk.client.transport.rest that return A2AClientExceptionModifier and TypeMethodDescriptionstatic A2AClientExceptionRestErrorMapper.mapRestError(String body, int code) static A2AClientExceptionstatic A2AClientExceptionRestErrorMapper.mapRestError(A2AHttpResponse response) Methods in org.a2aproject.sdk.client.transport.rest that throw A2AClientExceptionModifier and TypeMethodDescriptionRestTransport.cancelTask(CancelTaskParams taskIdParams, @Nullable ClientCallContext context) RestTransportProvider.create(RestTransportConfig clientTransportConfig, AgentCard agentCard, AgentInterface agentInterface) RestTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) voidRestTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) RestTransport.getExtendedAgentCard(GetExtendedAgentCardParams params, @Nullable ClientCallContext context) RestTransport.getTask(TaskQueryParams taskQueryParams, @Nullable ClientCallContext context) RestTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) RestTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) RestTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) RestTransport.sendMessage(MessageSendParams messageSendParams, @Nullable ClientCallContext context) voidRestTransport.sendMessageStreaming(MessageSendParams messageSendParams, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) voidRestTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) -
Uses of A2AClientException in org.a2aproject.sdk.client.transport.spi
Methods in org.a2aproject.sdk.client.transport.spi that throw A2AClientExceptionModifier and TypeMethodDescriptionClientTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) Request the agent to cancel a specific task.ClientTransportProvider.create(C clientTransportConfig, AgentCard agentCard, AgentInterface agentInterface) Create a client transport.ClientTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) Create or update the push notification configuration for a specific task.voidClientTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Delete the list of push notification configurations for a specific task.ClientTransport.getExtendedAgentCard(GetExtendedAgentCardParams params, @Nullable ClientCallContext context) Retrieve the extended AgentCard.ClientTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) Retrieve the current state and history of a specific task.ClientTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Retrieve the push notification configuration for a specific task.ClientTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) Retrieve the list of push notification configurations for a specific task with pagination support.ClientTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) List tasks with optional filtering and pagination.ClientTransport.sendMessage(MessageSendParams request, @Nullable ClientCallContext context) Send a non-streaming message request to the agent.voidClientTransport.sendMessageStreaming(MessageSendParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) Send a streaming message request to the agent and receive responses as they arrive.voidClientTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) Reconnect to get task updates for an existing task. -
Uses of A2AClientException in org.a2aproject.sdk.extras.opentelemetry.client
Methods in org.a2aproject.sdk.extras.opentelemetry.client that throw A2AClientExceptionModifier and TypeMethodDescriptionOpenTelemetryClientTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) voidOpenTelemetryClientTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.getExtendedAgentCard(GetExtendedAgentCardParams params, @Nullable ClientCallContext context) OpenTelemetryClientTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) OpenTelemetryClientTransport.sendMessage(MessageSendParams request, @Nullable ClientCallContext context) voidOpenTelemetryClientTransport.sendMessageStreaming(MessageSendParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) voidOpenTelemetryClientTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) -
Uses of A2AClientException in org.a2aproject.sdk.extras.opentelemetry.client.propagation
Methods in org.a2aproject.sdk.extras.opentelemetry.client.propagation that throw A2AClientExceptionModifier and TypeMethodDescriptionOpenTelemetryClientPropagatorTransport.cancelTask(CancelTaskParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.createTaskPushNotificationConfiguration(TaskPushNotificationConfig request, @Nullable ClientCallContext context) voidOpenTelemetryClientPropagatorTransport.deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.getExtendedAgentCard(GetExtendedAgentCardParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.getTask(TaskQueryParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.listTasks(ListTasksParams request, @Nullable ClientCallContext context) OpenTelemetryClientPropagatorTransport.sendMessage(MessageSendParams request, @Nullable ClientCallContext context) voidOpenTelemetryClientPropagatorTransport.sendMessageStreaming(MessageSendParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) voidOpenTelemetryClientPropagatorTransport.subscribeToTask(TaskIdParams request, Consumer<StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) -
Uses of A2AClientException in org.a2aproject.sdk.util
Methods in org.a2aproject.sdk.util that throw A2AClientExceptionModifier and TypeMethodDescriptionstatic AgentInterfaceUtils.getFavoriteInterface(AgentCard agentCard) Get the first defined URL in the supported interaces of the agent card.