Java Client API 4.0.2 Ignores HttpClientConfigurator
As of version 4.0.2, the Java Client API uses OkHttp as its HTTP client for communicating with MarkLogic over HTTP. This change should be transparent to most applications, but imposes the following backward incompatibility on applications that customize their HTTP configuration:
Attaching a configurator based on HttpClientConfigurator
to a DatabaseClientFactory
object no longer has any effect on the HTTP configuration. Use the new com.marklogic.client.extra.okhttpclient.OkHttpClientConfigurator
interface instead. The HttpClientConfigurator
interface is deprecated and will be removed in a future release.