Package org.bonitasoft.web.client.feign
Class CachingApiProvider
java.lang.Object
org.bonitasoft.web.client.feign.CachingApiProvider
- All Implemented Interfaces:
ApiProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ApiClient.Api>
TReturn the underlying raw http client API.
-
Constructor Details
-
CachingApiProvider
public CachingApiProvider()
-
-
Method Details
-
get
Description copied from interface:ApiProviderReturn the underlying raw http client API.
Beware that raw API access directly map to http request !!
You won't benefit from bonita client facilities ( ie. request and payload validation, ...) and that your code will be highly coupled to the underlying client technology !
This access is provided to avoid people being blocked by the current limited Bonita client implementation. This may be removed in the future.
- Specified by:
getin interfaceApiProvider- Type Parameters:
T- the specific API type- Parameters:
apiClass- the class of the requested API instance type- Returns:
- an API instance of type T
-