Package | Description |
---|---|
com.contentful.java.cda |
Modifier and Type | Method and Description |
---|---|
static CDAClient.Builder |
CDAClient.builder() |
CDAClient.Builder |
CDAClient.Builder.preview()
Sets the endpoint to point the Preview API.
|
CDAClient.Builder |
CDAClient.Builder.setApplication(java.lang.String name,
java.lang.String version)
Tell the client which application this is.
|
CDAClient.Builder |
CDAClient.Builder.setCallFactory(okhttp3.Call.Factory callFactory)
Sets a custom HTTP call factory.
|
CDAClient.Builder |
CDAClient.Builder.setEndpoint(java.lang.String endpoint)
Sets a custom endpoint.
|
CDAClient.Builder |
CDAClient.Builder.setEnvironment(java.lang.String environment)
Sets the environment ID.
|
CDAClient.Builder |
CDAClient.Builder.setIntegration(java.lang.String name,
java.lang.String version)
Set the name of the integration.
|
CDAClient.Builder |
CDAClient.Builder.setLogger(Logger logger)
Sets a custom logger.
|
CDAClient.Builder |
CDAClient.Builder.setLogLevel(Logger.Level logLevel)
Sets a custom logger level.
|
CDAClient.Builder |
CDAClient.Builder.setSpace(java.lang.String space)
Sets the space ID.
|
CDAClient.Builder |
CDAClient.Builder.setTls12Implementation(Tls12Implementation implementation)
Overwrite the recommendation from the SDK for using a custom TLS12 socket factory.
|
CDAClient.Builder |
CDAClient.Builder.setToken(java.lang.String token)
Sets the space access token.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.