Interface HttpApiProvider<T>

Type Parameters:
T - The interface type

public interface HttpApiProvider<T>
Provides http client implementations for an interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the provided implementation of the API.
    Return the interface type this API implements.
  • Method Details

    • type

      Class<T> type()
      Return the interface type this API implements.
    • provide

      T provide(HttpClient client)
      Return the provided implementation of the API.