Package | Description |
---|---|
com.contentful.java.cma |
Modifier and Type | Method and Description |
---|---|
CMAClient.Builder |
CMAClient.Builder.setAccessToken(java.lang.String accessToken)
Sets the access token for this client.
|
CMAClient.Builder |
CMAClient.Builder.setApplication(java.lang.String name,
java.lang.String version)
Tell the client which application this is.
|
CMAClient.Builder |
CMAClient.Builder.setCallbackExecutor(java.util.concurrent.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(java.lang.String remoteUrl)
Overrides the default remote URL for core modules.
|
CMAClient.Builder |
CMAClient.Builder.setEnvironmentId(java.lang.String environmentId)
Configure which environment to use if none is specified.
|
CMAClient.Builder |
CMAClient.Builder.setIntegration(java.lang.String name,
java.lang.String version)
Which integration is used.
|
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.setRateLimitListener(RateLimitsListener listener)
Add a listener to receive information about rate limits.
|
CMAClient.Builder |
CMAClient.Builder.setSpaceId(java.lang.String spaceId)
Configure which space to use if none is specified.
|
CMAClient.Builder |
CMAClient.Builder.setUploadCallFactory(okhttp3.Call.Factory callFactory)
Sets a custom HTTP call factory for the upload module.
|
CMAClient.Builder |
CMAClient.Builder.setUploadEndpoint(java.lang.String remoteUrl)
Overrides the remote URL for upload module.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.