Package org.bonitasoft.web.client.feign
Interface ApiProvider
-
- All Known Subinterfaces:
BonitaClient
- All Known Implementing Classes:
CachingApiProvider
public interface ApiProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends ApiClient.Api>
Tget(Class<T> apiClass)Return the underlying raw http client API.
-
-
-
Method Detail
-
get
<T extends ApiClient.Api> T get(Class<T> apiClass)
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
-
-