Class CachingApiProvider

java.lang.Object
org.bonitasoft.web.client.feign.CachingApiProvider
All Implemented Interfaces:
ApiProvider

public class CachingApiProvider extends Object implements ApiProvider
  • Constructor Details

    • CachingApiProvider

      public CachingApiProvider()
  • Method Details

    • get

      public <T extends ApiClient.Api> T get(Class<T> apiClass)
      Description copied from interface: ApiProvider
      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.

      Specified by:
      get in interface ApiProvider
      Type Parameters:
      T - the specific API type
      Parameters:
      apiClass - the class of the requested API instance type
      Returns:
      an API instance of type T