Uses of Interface
org.springframework.ai.anthropic.http.okhttp.AnthropicHttpClientBuilderCustomizer
Packages that use AnthropicHttpClientBuilderCustomizer
Package
Description
Spring AI integration with Anthropic's Claude models using the official
Anthropic Java SDK.
-
Uses of AnthropicHttpClientBuilderCustomizer in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic with parameters of type AnthropicHttpClientBuilderCustomizerModifier and TypeMethodDescriptionAnthropicChatModel.Builder.httpClientBuilderCustomizer(AnthropicHttpClientBuilderCustomizer customizer) Registers anAnthropicHttpClientBuilderCustomizerthat mutates the underlying OkHttp client builder before the Anthropic clients are constructed.Method parameters in org.springframework.ai.anthropic with type arguments of type AnthropicHttpClientBuilderCustomizerModifier and TypeMethodDescriptionAnthropicChatModel.Builder.httpClientBuilderCustomizers(List<AnthropicHttpClientBuilderCustomizer> customizers) Sets the full list ofcustomizersto apply, replacing any customizers registered earlier on this builder.static com.anthropic.client.AnthropicClientAsyncAnthropicSetup.setupAsyncClient(@Nullable String baseUrl, @Nullable String apiKey, @Nullable Duration timeout, @Nullable Integer maxRetries, @Nullable Proxy proxy, @Nullable Map<String, String> customHeaders, io.micrometer.observation.ObservationRegistry observationRegistry, @Nullable io.micrometer.core.instrument.MeterRegistry meterRegistry, @Nullable ExecutorService dispatcherExecutor, List<AnthropicHttpClientBuilderCustomizer> httpClientCustomizers) Creates an asynchronous Anthropic client backed by a caller-supplied dispatcher executor and with optional HTTP client customizers.static com.anthropic.client.AnthropicClientAnthropicSetup.setupSyncClient(@Nullable String baseUrl, @Nullable String apiKey, @Nullable Duration timeout, @Nullable Integer maxRetries, @Nullable Proxy proxy, @Nullable Map<String, String> customHeaders, io.micrometer.observation.ObservationRegistry observationRegistry, @Nullable io.micrometer.core.instrument.MeterRegistry meterRegistry, @Nullable ExecutorService dispatcherExecutor, List<AnthropicHttpClientBuilderCustomizer> httpClientCustomizers) Creates a synchronous Anthropic client backed by a caller-supplied dispatcher executor and with optional HTTP client customizers.