Interface HttpClient

All Known Implementing Classes:
HttpClientImpl

public interface HttpClient
Lower level client that deals with the execution of the request, including throwing runtime errors on non 200 requets
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.apache.http.client.methods.HttpRequestBase request)
    Execute request and handle non 200 cases
  • Method Details

    • execute

      HttpResponse execute(org.apache.http.client.methods.HttpRequestBase request)
      Execute request and handle non 200 cases
      Parameters:
      request - the request to execute
      Returns:
      the string of the body of the response