Interface HttpApiProvider<T>

Type Parameters:
T - The interface type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface 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.
  • Method Details

    • provide

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