Uses of Class
org.a2aproject.sdk.client.transport.spi.interceptors.ClientCallContext
Packages that use ClientCallContext
Package
Description
-
Uses of ClientCallContext in org.a2aproject.sdk.client.transport.spi
Methods in org.a2aproject.sdk.client.transport.spi with parameters of type ClientCallContextModifier and TypeMethodDescriptionorg.a2aproject.sdk.spec.TaskClientTransport.cancelTask(org.a2aproject.sdk.spec.CancelTaskParams request, @Nullable ClientCallContext context) Request the agent to cancel a specific task.org.a2aproject.sdk.spec.TaskPushNotificationConfigClientTransport.createTaskPushNotificationConfiguration(org.a2aproject.sdk.spec.TaskPushNotificationConfig request, @Nullable ClientCallContext context) Create or update the push notification configuration for a specific task.voidClientTransport.deleteTaskPushNotificationConfigurations(org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Delete the list of push notification configurations for a specific task.org.a2aproject.sdk.spec.AgentCardClientTransport.getExtendedAgentCard(org.a2aproject.sdk.spec.GetExtendedAgentCardParams params, @Nullable ClientCallContext context) Retrieve the extended AgentCard.org.a2aproject.sdk.spec.TaskClientTransport.getTask(org.a2aproject.sdk.spec.TaskQueryParams request, @Nullable ClientCallContext context) Retrieve the current state and history of a specific task.org.a2aproject.sdk.spec.TaskPushNotificationConfigClientTransport.getTaskPushNotificationConfiguration(org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) Retrieve the push notification configuration for a specific task.org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResultClientTransport.listTaskPushNotificationConfigurations(org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams request, @Nullable ClientCallContext context) Retrieve the list of push notification configurations for a specific task with pagination support.org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksResultClientTransport.listTasks(org.a2aproject.sdk.spec.ListTasksParams request, @Nullable ClientCallContext context) List tasks with optional filtering and pagination.org.a2aproject.sdk.spec.EventKindClientTransport.sendMessage(org.a2aproject.sdk.spec.MessageSendParams request, @Nullable ClientCallContext context) Send a non-streaming message request to the agent.voidClientTransport.sendMessageStreaming(org.a2aproject.sdk.spec.MessageSendParams request, Consumer<org.a2aproject.sdk.spec.StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) Send a streaming message request to the agent and receive responses as they arrive.voidClientTransport.subscribeToTask(org.a2aproject.sdk.spec.TaskIdParams request, Consumer<org.a2aproject.sdk.spec.StreamingEventKind> eventConsumer, Consumer<Throwable> errorConsumer, @Nullable ClientCallContext context) Reconnect to get task updates for an existing task. -
Uses of ClientCallContext in org.a2aproject.sdk.client.transport.spi.interceptors
Methods in org.a2aproject.sdk.client.transport.spi.interceptors with parameters of type ClientCallContextModifier and TypeMethodDescriptionabstract PayloadAndHeadersClientCallInterceptor.intercept(String methodName, @Nullable Object payload, Map<String, String> headers, @Nullable org.a2aproject.sdk.spec.AgentCard agentCard, @Nullable ClientCallContext clientCallContext) Intercept a client call before the request is sent. -
Uses of ClientCallContext in org.a2aproject.sdk.client.transport.spi.interceptors.auth
Methods in org.a2aproject.sdk.client.transport.spi.interceptors.auth with parameters of type ClientCallContextModifier and TypeMethodDescription@Nullable StringCredentialService.getCredential(String securitySchemeName, @Nullable ClientCallContext clientCallContext) Retrieves a credential (e.g., token) for a security scheme.@Nullable StringInMemoryContextCredentialService.getCredential(String securitySchemeName, @Nullable ClientCallContext clientCallContext) AuthInterceptor.intercept(String methodName, @Nullable Object payload, Map<String, String> headers, @Nullable org.a2aproject.sdk.spec.AgentCard agentCard, @Nullable ClientCallContext clientCallContext)