Package com.ibm.cloud.cloudant.internal
Class CloudantBaseService
java.lang.Object
com.ibm.cloud.sdk.core.service.BaseService
com.ibm.cloud.cloudant.internal.CloudantBaseService
- Direct Known Subclasses:
Cloudant
This class provides customizations to the generated Cloudant class.
It is not public API, but is used in the class hierarchy to bridge the generated Cloudant
class to the SDK core BaseService.
-
Field Summary
Fields inherited from class com.ibm.cloud.sdk.core.service.BaseService
PROPNAME_DISABLE_SSL, PROPNAME_ENABLE_GZIP, PROPNAME_ENABLE_RETRIES, PROPNAME_MAX_RETRIES, PROPNAME_RETRY_INTERVAL, PROPNAME_URL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureClient
(HttpConfigOptions options) void
setClient
(okhttp3.OkHttpClient client) void
setDefaultHeaders
(Map<String, String> headers) void
setServiceUrl
(String serviceUrl) Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setEndPoint, toString
-
Constructor Details
-
CloudantBaseService
-
-
Method Details
-
setServiceUrl
- Overrides:
setServiceUrl
in classBaseService
-
setClient
public void setClient(okhttp3.OkHttpClient client) - Overrides:
setClient
in classBaseService
-
configureClient
- Overrides:
configureClient
in classBaseService
-
setDefaultHeaders
- Overrides:
setDefaultHeaders
in classBaseService
-