Package | Description |
---|---|
io.sphere.sdk.client |
Provides types to connect to the API via HTTPS.
|
io.sphere.sdk.client.retry |
Modifier and Type | Method and Description |
---|---|
SphereClientConfig |
SphereClientConfigBuilder.build() |
static SphereClientConfig |
SphereClientConfig.of(String projectKey,
String clientId,
String clientSecret) |
static SphereClientConfig |
SphereClientConfig.of(String projectKey,
String clientId,
String clientSecret,
String authUrl,
String apiUrl) |
static SphereClientConfig |
SphereClientConfig.of(String projectKey,
String clientId,
String clientSecret,
String authUrl,
String apiUrl,
CorrelationIdGenerator correlationIdGenerator) |
static SphereClientConfig |
SphereClientConfig.of(String projectKey,
String clientId,
String clientSecret,
String authUrl,
String apiUrl,
List<String> scopes) |
static SphereClientConfig |
SphereClientConfig.ofEnvironmentVariables(String prefix)
Creates a
SphereClientConfig out of environment variables using prefix as namespace parameter. |
static SphereClientConfig |
SphereClientConfig.ofProperties(Properties properties,
String prefix)
|
SphereClientConfig |
SphereClientConfig.withApiUrl(String apiUrl) |
SphereClientConfig |
SphereClientConfig.withAuthUrl(String authUrl) |
Modifier and Type | Method and Description |
---|---|
default SphereClient |
SphereClientFactory.createClient(SphereClientConfig config)
Creates a standard client with configurable service URLs.
|
static SphereClientConfigBuilder |
SphereClientConfigBuilder.ofClientConfig(SphereClientConfig config) |
Modifier and Type | Method and Description |
---|---|
static RetryableSphereClientBuilder |
RetryableSphereClientBuilder.of(SphereClientConfig sphereClientConfig,
HttpClient httpClient)
Creates a new instance of
RetryableSphereClientBuilder given a SphereClientConfig
responsible for creation of a SphereClient. |