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