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

    Constructors
    Constructor
    Description
    CloudantBaseService(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureClient(com.ibm.cloud.sdk.core.http.HttpConfigOptions options)
     
    void
     
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CloudantBaseService

      public CloudantBaseService(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
  • Method Details

    • setServiceUrl

      public void setServiceUrl(String serviceUrl)
      Overrides:
      setServiceUrl in class com.ibm.cloud.sdk.core.service.BaseService
    • configureClient

      public void configureClient(com.ibm.cloud.sdk.core.http.HttpConfigOptions options)
      Overrides:
      configureClient in class com.ibm.cloud.sdk.core.service.BaseService
    • setDefaultHeaders

      public void setDefaultHeaders(Map<String,String> headers)
      Overrides:
      setDefaultHeaders in class com.ibm.cloud.sdk.core.service.BaseService