Package org.bonitasoft.web.client.feign
Interface ApiProvider
- All Known Subinterfaces:
BonitaClient
- All Known Implementing Classes:
CachingApiProvider
public interface ApiProvider
-
Method Summary
Modifier and TypeMethodDescription<T extends ApiClient.Api>
TReturn the underlying raw http client API.
-
Method Details
-
get
Return 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.
- Type Parameters:
T- the specific API type- Parameters:
apiClass- the class of the requested API instance type- Returns:
- an API instance of type T
-