Interface HttpApi


public interface HttpApi
Provides Http client service implementations for a given interface type.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <T> T
    provide​(Class<T> interfaceType, HttpClientContext clientContext)
    Provide the http client implementation for the given interface type.
  • Method Details

    • provide

      static <T> T provide(Class<T> interfaceType, HttpClientContext clientContext)
      Provide the http client implementation for the given interface type.
      Parameters:
      interfaceType - The interface type
      clientContext - The http client context used for executing the requests
      Returns:
      The http client implementation for the given interface type