| Package | Description |
|---|---|
| com.contentful.java.cma |
| Modifier and Type | Method and Description |
|---|---|
CMAClient.Builder |
CMAClient.Builder.setAccessToken(String accessToken)
Sets the access token for this client.
|
CMAClient.Builder |
CMAClient.Builder.setCallbackExecutor(Executor executor)
Sets the executor to use when invoking asynchronous callbacks.
|
CMAClient.Builder |
CMAClient.Builder.setCoreCallFactory(okhttp3.Call.Factory callFactory)
Sets a custom HTTP call factory for core modules.
|
CMAClient.Builder |
CMAClient.Builder.setCoreEndpoint(String remoteUrl)
Overrides the default remote URL for core modules.
|
CMAClient.Builder |
CMAClient.Builder.setLogger(Logger logger)
Sets the logger to be used for logging all network requests or all application requests.
|
CMAClient.Builder |
CMAClient.Builder.setLogLevel(Logger.Level logLevel)
Sets the log level for this client.
|
CMAClient.Builder |
CMAClient.Builder.setUploadCallFactory(okhttp3.Call.Factory callFactory)
Sets a custom HTTP call factory for the upload module.
|
CMAClient.Builder |
CMAClient.Builder.setUploadEndpoint(String remoteUrl)
Overrides the remote URL for upload module.
|
Copyright © 2017 Contentful, GmbH.. All Rights Reserved.