Class DefaultApiBundle
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.generic.DefaultApiBundle
-
-
Constructor Summary
Constructors Constructor Description DefaultApiBundle(ApiClient client)A new API bundle that uses the given client for sending requests.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends EndpointCategory>
Tapi(Class<T> apiType)Generic method for accessing an API of a particular type.ApiClientclient()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.api.rest.pub.client.generic.ApiBundle
_defaultApi, pingApi
-
-
-
-
Constructor Detail
-
DefaultApiBundle
public DefaultApiBundle(ApiClient client)
A new API bundle that uses the given client for sending requests.- Parameters:
client- API client to use for sending requests.
-
-
Method Detail
-
client
public ApiClient client()
-
api
public <T extends EndpointCategory> T api(Class<T> apiType)
Description copied from interface:ApiBundle
-
-