Package com.anthropic.client.okhttp
Class AnthropicOkHttpClient
-
- All Implemented Interfaces:
public final class AnthropicOkHttpClientA class that allows building an instance of AnthropicClient with OkHttpClient as the underlying HttpClient.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnthropicOkHttpClient.BuilderA builder for AnthropicOkHttpClient.
-
Method Summary
Modifier and Type Method Description final static AnthropicOkHttpClient.Builderbuilder()Returns a mutable builder for constructing an instance of AnthropicClient. final static AnthropicClientfromEnv()Returns a client configured using system properties and environment variables. -
-
Method Detail
-
builder
final static AnthropicOkHttpClient.Builder builder()
Returns a mutable builder for constructing an instance of AnthropicClient.
-
fromEnv
final static AnthropicClient fromEnv()
Returns a client configured using system properties and environment variables.
-
-
-
-