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