public final class ClientConfigurationUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static io.sphere.sdk.client.SphereClient |
createClient(io.sphere.sdk.client.SphereClientConfig clientConfig)
Creates a
BlockingSphereClient with a default timeout value of 30 seconds. |
static io.sphere.sdk.client.SphereClient |
createClient(io.sphere.sdk.client.SphereClientConfig clientConfig,
long timeout,
java.util.concurrent.TimeUnit timeUnit)
Creates a
BlockingSphereClient with a custom timeout with a custom TimeUnit. |
public static io.sphere.sdk.client.SphereClient createClient(@Nonnull
io.sphere.sdk.client.SphereClientConfig clientConfig,
long timeout,
@Nonnull
java.util.concurrent.TimeUnit timeUnit)
BlockingSphereClient with a custom timeout with a custom TimeUnit.clientConfig - the client configuration for the client.timeout - the timeout value for the client requests.timeUnit - the timeout time unit.BlockingSphereClient.public static io.sphere.sdk.client.SphereClient createClient(@Nonnull
io.sphere.sdk.client.SphereClientConfig clientConfig)
BlockingSphereClient with a default timeout value of 30 seconds.clientConfig - the client configuration for the client.BlockingSphereClient.