- All Superinterfaces:
- DatabaseClientFactory.ClientConfigurator<okhttp3.OkHttpClient.Builder>
- All Known Implementing Classes:
- RemoveAcceptEncodingConfigurator
public interface OkHttpClientConfigurator
extends DatabaseClientFactory.ClientConfigurator<okhttp3.OkHttpClient.Builder>
Provides configuration for the HttpClient
communications library. The configurator executes during creation
of a database client after the built-in configuration completes.
Use this class only if testing demonstrates that your environment
requires a different HTTP configuration than the default HTTP
configuration. Note: If the API moves to a different HTTP
communications library or a different protocol, the configurator
will no longer be called.
- See Also:
-
DatabaseClientFactory.addConfigurator(ClientConfigurator)