Package com.commercetools.api.client
Class ApiRoot
java.lang.Object
com.commercetools.api.client.ApiRoot
- All Implemented Interfaces:
Closeable
,AutoCloseable
Entrypoint for building requests against the API
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static ApiRoot
fromClient
(ApiHttpClient apiHttpClient) static ApiRoot
of()
withProjectKey
(String projectKey)
-
Method Details
-
of
-
fromClient
-
withProjectKey
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-