Uses of Record Class
org.a2aproject.sdk.client.http.SSEParserConfig
Packages that use SSEParserConfig
Package
Description
HTTP client utilities for A2A protocol communication.
-
Uses of SSEParserConfig in org.a2aproject.sdk.client.http
Fields in org.a2aproject.sdk.client.http declared as SSEParserConfigModifier and TypeFieldDescriptionstatic final SSEParserConfigSSEParserConfig.DEFAULTDefault configuration: 1 MB per-line and per-event character limit, 1 000 data lines per event.Methods in org.a2aproject.sdk.client.http that return SSEParserConfigModifier and TypeMethodDescriptionSSEParserConfig.Builder.build()@Nullable SSEParserConfigA2AHttpClientConfiguration.sseParserConfig()Returns the value of thesseParserConfigrecord component.A2AHttpClientConfiguration.sseParserConfigOrDefault()Returns the configured SSE parser limits, or the SDK defaults when none were supplied.Methods in org.a2aproject.sdk.client.http with parameters of type SSEParserConfigModifier and TypeMethodDescriptionstatic A2AHttpClientA2AHttpClientFactory.createWithSseConfig(SSEParserConfig sseParserConfig) Deprecated.default A2AHttpClientA2AHttpClientProvider.createWithSseConfig(SSEParserConfig sseParserConfig) Creates a new instance of an A2AHttpClient with the givenSSEParserConfig.JdkA2AHttpClientProvider.createWithSseConfig(SSEParserConfig sseParserConfig) Creates a new instance of an A2AHttpClient with the givenSSEParserConfig.A2AHttpClientConfiguration.Builder.sseParserConfig(@Nullable SSEParserConfig sseParserConfig) Sets optional SSE parser limits.static JdkA2AHttpClientJdkA2AHttpClient.withConfiguration(SSEParserConfig sseParserConfig, RedirectHeaderPolicy redirectHeaderPolicy) Creates a default JDK client with custom SSE and redirect settings.static JdkA2AHttpClientJdkA2AHttpClient.withSseConfig(SSEParserConfig sseParserConfig) Creates a new JDK-based HTTP client with secure defaults and custom SSE parser limits.Constructors in org.a2aproject.sdk.client.http with parameters of type SSEParserConfigModifierConstructorDescriptionA2AHttpClientConfiguration(List<String> excludedProviderNames, @Nullable SSEParserConfig sseParserConfig, @Nullable RedirectHeaderPolicy redirectHeaderPolicy) Creates an instance of aA2AHttpClientConfigurationrecord class.JdkA2AHttpClient(HttpClient httpClient, SSEParserConfig sseParserConfig) Creates a new JDK-based HTTP client using a caller-provided JDKHttpClientand custom SSE parser limits.JdkA2AHttpClient(HttpClient httpClient, SSEParserConfig sseParserConfig, RedirectHeaderPolicy redirectHeaderPolicy) Creates a new JDK HTTP client with caller-supplied transport and redirect policies.ServerSentEventParser(Consumer<ServerSentEvent> eventConsumer, @Nullable Consumer<Throwable> errorConsumer, SSEParserConfig config) -
Uses of SSEParserConfig in org.a2aproject.sdk.client.http.android
Methods in org.a2aproject.sdk.client.http.android with parameters of type SSEParserConfigModifier and TypeMethodDescriptionAndroidA2AHttpClientProvider.createWithSseConfig(SSEParserConfig sseParserConfig) Creates a new instance of an A2AHttpClient with the givenSSEParserConfig.Constructors in org.a2aproject.sdk.client.http.android with parameters of type SSEParserConfigModifierConstructorDescriptionAndroidA2AHttpClient(SSEParserConfig sseParserConfig) Creates a new Android HTTP client with custom SSE parser limits.AndroidA2AHttpClient(SSEParserConfig sseParserConfig, RedirectHeaderPolicy redirectHeaderPolicy) Creates a new Android HTTP client with custom parser limits and redirect policy.
A2AHttpClientFactory.create(A2AHttpClientConfiguration)