Class AndroidA2AHttpClient

java.lang.Object
org.a2aproject.sdk.client.http.android.AndroidA2AHttpClient
All Implemented Interfaces:
A2AHttpClient

public class AndroidA2AHttpClient extends Object implements A2AHttpClient
Android-specific implementation of A2AHttpClient using HttpURLConnection.

Security Note: This client does not follow HTTP redirects automatically to prevent credential leakage to third-party origins. Applications requiring redirect following must handle redirects manually.

  • Constructor Details

    • AndroidA2AHttpClient

      public AndroidA2AHttpClient()
    • AndroidA2AHttpClient

      public AndroidA2AHttpClient(SSEParserConfig sseParserConfig)
      Creates a new Android HTTP client with custom SSE parser limits.
      Parameters:
      sseParserConfig - the SSE parser configuration to use for streaming responses
  • Method Details