Uses of Interface
org.a2aproject.sdk.client.http.A2AHttpClient
Packages that use A2AHttpClient
Package
Description
HTTP client utilities for A2A protocol communication.
-
Uses of A2AHttpClient in org.a2aproject.sdk
Methods in org.a2aproject.sdk with parameters of type A2AHttpClientModifier and TypeMethodDescriptionstatic AgentCardA2A.getAgentCard(A2AHttpClient httpClient, String agentUrl) Retrieve the agent card using a custom HTTP client.static AgentCardA2A.getAgentCard(A2AHttpClient httpClient, String agentUrl, String relativeCardPath, Map<String, String> authHeaders) Retrieve the agent card with full customization options. -
Uses of A2AHttpClient in org.a2aproject.sdk.client.http
Classes in org.a2aproject.sdk.client.http that implement A2AHttpClientModifier and TypeClassDescriptionclassAndroid-specific implementation ofA2AHttpClientusingHttpURLConnection.classDefault HTTP client implementation using JDK 11+HttpClient.classVert.x WebClient-based implementation ofA2AHttpClient.Methods in org.a2aproject.sdk.client.http that return A2AHttpClientModifier and TypeMethodDescriptionstatic A2AHttpClientA2AHttpClientFactory.create()Creates a new A2AHttpClient instance using the highest priority provider available.static A2AHttpClientCreates a new A2AHttpClient instance using a specific provider by name.A2AHttpClientProvider.create()Creates a new instance of an A2AHttpClient.AndroidA2AHttpClientProvider.create()JdkA2AHttpClientProvider.create()VertxA2AHttpClientProvider.create()Methods in org.a2aproject.sdk.client.http with parameters of type A2AHttpClientModifier and TypeMethodDescriptionA2ACardResolver.Builder.httpClient(A2AHttpClient httpClient) Sets the HTTP client to use for fetching agent cards. -
Uses of A2AHttpClient in org.a2aproject.sdk.client.transport.jsonrpc
Methods in org.a2aproject.sdk.client.transport.jsonrpc that return A2AHttpClientModifier and TypeMethodDescription@Nullable A2AHttpClientJSONRPCTransportConfig.getHttpClient()Get the configured HTTP client.Methods in org.a2aproject.sdk.client.transport.jsonrpc with parameters of type A2AHttpClientModifier and TypeMethodDescriptionJSONRPCTransportConfigBuilder.httpClient(A2AHttpClient httpClient) Set the HTTP client to use for JSON-RPC requests.Constructors in org.a2aproject.sdk.client.transport.jsonrpc with parameters of type A2AHttpClientModifierConstructorDescriptionJSONRPCTransport(@Nullable A2AHttpClient httpClient, @Nullable AgentCard agentCard, AgentInterface agentInterface, @Nullable List<ClientCallInterceptor> interceptors) JSONRPCTransportConfig(A2AHttpClient httpClient) Create a JSON-RPC transport configuration with a custom HTTP client. -
Uses of A2AHttpClient in org.a2aproject.sdk.client.transport.rest
Methods in org.a2aproject.sdk.client.transport.rest that return A2AHttpClientModifier and TypeMethodDescription@Nullable A2AHttpClientRestTransportConfig.getHttpClient()Get the configured HTTP client.Methods in org.a2aproject.sdk.client.transport.rest with parameters of type A2AHttpClientModifier and TypeMethodDescriptionRestTransportConfigBuilder.httpClient(A2AHttpClient httpClient) Set the HTTP client to use for REST requests.Constructors in org.a2aproject.sdk.client.transport.rest with parameters of type A2AHttpClientModifierConstructorDescriptionRestTransport(@Nullable A2AHttpClient httpClient, AgentCard agentCard, AgentInterface agentInterface, @Nullable List<ClientCallInterceptor> interceptors) RestTransportConfig(A2AHttpClient httpClient) Create a REST transport configuration with a custom HTTP client. -
Uses of A2AHttpClient in org.a2aproject.sdk.compat03
Methods in org.a2aproject.sdk.compat03 with parameters of type A2AHttpClientModifier and TypeMethodDescriptionstatic AgentCard_v0_3A2A_v0_3.getAgentCard(A2AHttpClient httpClient, String agentUrl) Get the agent card for an A2A agent.static AgentCard_v0_3A2A_v0_3.getAgentCard(A2AHttpClient httpClient, String agentUrl, String relativeCardPath, Map<String, String> authHeaders) Get the agent card for an A2A agent. -
Uses of A2AHttpClient in org.a2aproject.sdk.compat03.client.http
Constructors in org.a2aproject.sdk.compat03.client.http with parameters of type A2AHttpClientModifierConstructorDescriptionA2ACardResolver_v0_3(A2AHttpClient httpClient, String baseUrl) Constructs an A2ACardResolver with a specific HTTP client and base URL.A2ACardResolver_v0_3(A2AHttpClient httpClient, String baseUrl, @Nullable String agentCardPath, @Nullable Map<String, String> authHeaders) A2ACardResolver_v0_3(A2AHttpClient httpClient, String baseUrl, String agentCardPath) -
Uses of A2AHttpClient in org.a2aproject.sdk.compat03.client.transport.jsonrpc
Methods in org.a2aproject.sdk.compat03.client.transport.jsonrpc that return A2AHttpClientMethods in org.a2aproject.sdk.compat03.client.transport.jsonrpc with parameters of type A2AHttpClientModifier and TypeMethodDescriptionJSONRPCTransportConfigBuilder_v0_3.httpClient(A2AHttpClient httpClient) Constructors in org.a2aproject.sdk.compat03.client.transport.jsonrpc with parameters of type A2AHttpClientModifierConstructorDescriptionJSONRPCTransport_v0_3(A2AHttpClient httpClient, AgentCard_v0_3 agentCard, String agentUrl, List<ClientCallInterceptor_v0_3> interceptors) JSONRPCTransportConfig_v0_3(A2AHttpClient httpClient) -
Uses of A2AHttpClient in org.a2aproject.sdk.compat03.client.transport.rest
Methods in org.a2aproject.sdk.compat03.client.transport.rest that return A2AHttpClientModifier and TypeMethodDescription@Nullable A2AHttpClientRestTransportConfig_v0_3.getHttpClient()Methods in org.a2aproject.sdk.compat03.client.transport.rest with parameters of type A2AHttpClientModifier and TypeMethodDescriptionRestTransportConfigBuilder_v0_3.httpClient(A2AHttpClient httpClient) Constructors in org.a2aproject.sdk.compat03.client.transport.rest with parameters of type A2AHttpClientModifierConstructorDescriptionRestTransport_v0_3(@Nullable A2AHttpClient httpClient, AgentCard_v0_3 agentCard, String agentUrl, @Nullable List<ClientCallInterceptor_v0_3> interceptors) RestTransportConfig_v0_3(A2AHttpClient httpClient) -
Uses of A2AHttpClient in org.a2aproject.sdk.server.tasks
Constructors in org.a2aproject.sdk.server.tasks with parameters of type A2AHttpClientModifierConstructorDescriptionBasePushNotificationSender(PushNotificationConfigStore configStore, A2AHttpClient httpClient) BasePushNotificationSender(PushNotificationConfigStore configStore, A2AHttpClient httpClient, List<PushNotificationPayloadFormatter> formatters)