Class ApiFactory
java.lang.Object
com.commercetools.api.defaultconfig.ApiFactory
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApiRoot
create
(ClientCredentials credentials) Deprecated.static ApiRoot
create
(ClientCredentials credentials, ServiceRegionConfig serviceRegion) Deprecated.static ApiRoot
create
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated.static ApiRoot
create
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiRoot
create
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ApiRoot
create
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiRoot
create
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated.static ApiRoot
create
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiRoot
create
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ApiRoot
create
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiRoot
create
(Supplier<ApiHttpClient> clientSupplier) Deprecated.static ByProjectKeyRequestBuilder
createForProject
(VrapHttpClient httpClient, String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ByProjectKeyRequestBuilder
createForProject
(VrapHttpClient httpClient, String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ByProjectKeyRequestBuilder
createForProject
(String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated.static ByProjectKeyRequestBuilder
createForProject
(String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ByProjectKeyRequestBuilder
createForProject
(String projectKey, Supplier<ApiHttpClient> clientSupplier) Deprecated.static ApiHttpClient
defaultClient
(ClientCredentials credentials) Deprecated.static ApiHttpClient
defaultClient
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated.static ApiHttpClient
defaultClient
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiHttpClient
defaultClient
(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ApiHttpClient
defaultClient
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated.static ApiHttpClient
defaultClient
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiHttpClient
defaultClient
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, Supplier<String> userAgentSupplier, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiHttpClient
defaultClient
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated.static ApiHttpClient
defaultClient
(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiHttpClient
defaultClient
(Supplier<VrapHttpClient> httpClientSupplier, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, Supplier<String> userAgentSupplier, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.static ApiHttpClient
defaultClient
(Supplier<VrapHttpClient> httpClientSupplier, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated.
-
Constructor Details
-
ApiFactory
public ApiFactory()Deprecated.
-
-
Method Details
-
createForProject
public static ByProjectKeyRequestBuilder createForProject(String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated. -
createForProject
public static ByProjectKeyRequestBuilder createForProject(String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
createForProject
public static ByProjectKeyRequestBuilder createForProject(VrapHttpClient httpClient, String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
createForProject
public static ByProjectKeyRequestBuilder createForProject(VrapHttpClient httpClient, String projectKey, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated. -
createForProject
public static ByProjectKeyRequestBuilder createForProject(String projectKey, Supplier<ApiHttpClient> clientSupplier) Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
public static ApiRoot create(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated. -
create
public static ApiRoot create(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated. -
create
public static ApiRoot create(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
create
public static ApiRoot create(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated. -
create
public static ApiRoot create(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated. -
create
public static ApiRoot create(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated. -
create
public static ApiRoot create(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
create
public static ApiRoot create(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, CorrelationIdProvider correlationIdProvider) Deprecated. -
create
Deprecated. -
defaultClient
Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, CorrelationIdProvider correlationIdProvider) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, @Nullable CorrelationIdProvider correlationIdProvider) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(VrapHttpClient httpClient, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, Supplier<String> userAgentSupplier, List<Middleware> middlewares, @Nullable CorrelationIdProvider correlationIdProvider) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(Supplier<VrapHttpClient> httpClientSupplier, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, List<Middleware> middlewares, @Nullable CorrelationIdProvider correlationIdProvider) Deprecated. -
defaultClient
public static ApiHttpClient defaultClient(Supplier<VrapHttpClient> httpClientSupplier, ClientCredentials credentials, String tokenEndpoint, String apiEndpoint, Supplier<String> userAgentSupplier, List<Middleware> middlewares, @Nullable CorrelationIdProvider correlationIdProvider) Deprecated.
-
ApiRootBuilder
instead