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
    T provide​(HttpClientContext client)
    Return the provided implementation of the API.
    Class<T> type()
    Return the interface type this API implements.
  • Method Details

    • type

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

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