io.sphere.sdk.client.SphereApiConfig Maven / Gradle / Ivy
package io.sphere.sdk.client;
import static io.sphere.sdk.client.ClientPackage.API_URL;
/**
* Configuration to make request for a SPHERE.IO web service, does not include authentication configuration or tokens.
*/
public interface SphereApiConfig {
String getApiUrl();
String getProjectKey();
static SphereApiConfig of(final String projectKey) {
return of(projectKey, API_URL);
}
static SphereApiConfig of(final String projectKey, final String apiUrl) {
return new SphereApiConfigImpl(projectKey, apiUrl);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy