Package org.a2aproject.sdk.client.http
Class A2AHttpClientConfiguration.Builder
java.lang.Object
org.a2aproject.sdk.client.http.A2AHttpClientConfiguration.Builder
- Enclosing class:
- A2AHttpClientConfiguration
Builder for
A2AHttpClientConfiguration.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates the immutable configuration.excludedProviderNames(List<String> excludedProviderNames) Sets provider names that must not be considered by the factory.redirectHeaderPolicy(@Nullable RedirectHeaderPolicy redirectHeaderPolicy) Sets the redirect-header policy for explicitly enabled POST redirects.sseParserConfig(@Nullable SSEParserConfig sseParserConfig) Sets optional SSE parser limits.
-
Method Details
-
excludedProviderNames
Sets provider names that must not be considered by the factory. -
sseParserConfig
public A2AHttpClientConfiguration.Builder sseParserConfig(@Nullable SSEParserConfig sseParserConfig) Sets optional SSE parser limits. -
redirectHeaderPolicy
public A2AHttpClientConfiguration.Builder redirectHeaderPolicy(@Nullable RedirectHeaderPolicy redirectHeaderPolicy) Sets the redirect-header policy for explicitly enabled POST redirects. -
build
Creates the immutable configuration.
-