code: public ClientBuilder interceptors(HttpConnectionInterceptor... interceptors) {
          for (HttpConnectionInterceptor interceptor : interceptors) {
              if (interceptor instanceof HttpConnectionRequestInterceptor) {
                  requestInterceptors.add((HttpConnectionRequestInterceptor) interceptor);
              }
              if (interceptor instanceof HttpConnectionResponseInterceptor) {
                  responseInterceptors.add((HttpConnectionResponseInterceptor) interceptor);
              }
          }
          return this;
      }
docs: This method adds {@link HttpConnectionInterceptor}s to be used on the CloudantClient
  connection. Interceptors can be used to modify the HTTP requests and responses between the
  CloudantClient and the server.
  <P>
  An example interceptor use might be to apply a custom authorization mechanism. For
  instance to use BasicAuth instead of CookieAuth it is possible to use a
  {@link com.cloudant.http.interceptors.BasicAuthInterceptor} that adds the BasicAuth
  {@code Authorization} header to the request:
  </P>
  <pre>
  {@code
  CloudantClient client = ClientBuilder.account("yourCloudantAccount")
  .interceptors(new BasicAuthInterceptor("yourUsername:yourPassword"))
  .build()
  }
  </pre>
  
  @param interceptors one or more HttpConnectionInterceptor objects
  @return this ClientBuilder object for setting additional options
  @see HttpConnectionInterceptor