Interface HttpClientFactory


public interface HttpClientFactory
The service you can use to create http clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    create(Class<T> api, String base)
     
  • Method Details

    • create

      <T> T create(Class<T> api, String base)
      Type Parameters:
      T - the proxy type.
      Parameters:
      api - your proxy definition, Request.
      base - the base url for the requests.
      Returns:
      a http client ready to be used.