Uses of Class
org.springframework.ai.anthropic.http.okhttp.SpringAiAnthropicHttpClient.Builder
Packages that use SpringAiAnthropicHttpClient.Builder
Package
Description
Spring AI's customized OkHttp-backed implementation of the Anthropic Java SDK's
HttpClient contract.-
Uses of SpringAiAnthropicHttpClient.Builder in org.springframework.ai.anthropic.http.okhttp
Methods in org.springframework.ai.anthropic.http.okhttp that return SpringAiAnthropicHttpClient.BuilderModifier and TypeMethodDescriptionSpringAiAnthropicHttpClient.Builder.backend(com.anthropic.backends.Backend backend) SpringAiAnthropicHttpClient.builder()SpringAiAnthropicHttpClient.Builder.dispatcherExecutorService(@Nullable ExecutorService dispatcherExecutorService) Sets the executor used by the OkHttp dispatcher.SpringAiAnthropicHttpClient.Builder.hostnameVerifier(@Nullable HostnameVerifier hostnameVerifier) SpringAiAnthropicHttpClient.Builder.keepAliveDuration(@Nullable Duration keepAliveDuration) SpringAiAnthropicHttpClient.Builder.maxIdleConnections(@Nullable Integer maxIdleConnections) SpringAiAnthropicHttpClient.Builder.meterRegistry(@Nullable io.micrometer.core.instrument.MeterRegistry meterRegistry) Registers a meter registry to bind OkHttp connection-pool gauges (active/idle connections).SpringAiAnthropicHttpClient.Builder.meterTags(Iterable<io.micrometer.core.instrument.Tag> meterTags) Tags applied to the connection-pool gauges registered with theMeterRegistry.SpringAiAnthropicHttpClient.Builder.observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Registers the Micrometer observation registry used by the OkHttp interceptor.SpringAiAnthropicHttpClient.Builder.proxyAuthenticator(@Nullable com.anthropic.core.http.ProxyAuthenticator proxyAuthenticator) SpringAiAnthropicHttpClient.Builder.sslSocketFactory(@Nullable SSLSocketFactory sslSocketFactory) SpringAiAnthropicHttpClient.Builder.timeout(com.anthropic.core.Timeout timeout) SpringAiAnthropicHttpClient.Builder.trustManager(@Nullable X509TrustManager trustManager)