- All Superinterfaces:
public interface ApiClient extends StubCreator, java.io.CloseableRepresents a Client for an API.
Instances of implementing classes obtain and manage any resource needed to connect to the API provider, exchange request/response pairs and perform any other activities for consuming the remote API.
This is a
StubCreatorwhich is the mechanism to create remote stubs for the API services.
Use the static factory methods from
ApiClientsto create instances.
ApiClientinstance must be
Closeable.close()when it and the stubs it created are no longer needed. This will ensure that all resources used by this instances are freed.