Class OkHttpBasicClientFactory
java.lang.Object
com.janeirodigital.shapetrees.client.okhttp.OkHttpBasicClientFactory
- All Implemented Interfaces:
OkHttpClientFactory
Basic factory to get a OkHttp HTTP client, implementing
OkHttpClientFactory
.
This is the default client factory provided by OkHttpClientFactoryManager
when a
more robust client factory is not assigned.- See Also:
-
- OkHttp - HTTP client library from Square
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.OkHttpClient
Get an OkHttpClient without any special configuration or settings
-
Constructor Details
-
OkHttpBasicClientFactory
public OkHttpBasicClientFactory()
-
-
Method Details
-
getOkHttpClient
public okhttp3.OkHttpClient getOkHttpClient()Get an OkHttpClient without any special configuration or settings- Specified by:
getOkHttpClient
in interfaceOkHttpClientFactory
- Returns:
- Basic OkHttpClient
-