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
public abstract class CloudantBaseService
extends com.ibm.cloud.sdk.core.service.BaseService
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
ConstructorDescriptionCloudantBaseService
(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureClient
(com.ibm.cloud.sdk.core.http.HttpConfigOptions options) 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, setClient, setEndPoint, toString
-
Constructor Details
-
CloudantBaseService
public CloudantBaseService(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
-
-
Method Details
-
setServiceUrl
- Overrides:
setServiceUrl
in classcom.ibm.cloud.sdk.core.service.BaseService
-
configureClient
public void configureClient(com.ibm.cloud.sdk.core.http.HttpConfigOptions options) - Overrides:
configureClient
in classcom.ibm.cloud.sdk.core.service.BaseService
-
setDefaultHeaders
- Overrides:
setDefaultHeaders
in classcom.ibm.cloud.sdk.core.service.BaseService
-