Class ApiClient

  • Direct Known Subclasses:
    ReactiveApiClient

    public abstract class ApiClient
    extends Object
    The api client.
    Author:
    Christian Bremer
    • Constructor Detail

      • ApiClient

        public ApiClient()
    • Method Detail

      • newInstance

        public abstract <T> T newInstance​(Class<T> target,
                                          String baseUrl)
        Creates new proxy instance.
        Type Parameters:
        T - the api interface type
        Parameters:
        target - the target
        baseUrl - the base url
        Returns:
        the proxy