Class HttpClientImpl

java.lang.Object
com.codebarrel.tenant.api.http.HttpClientImpl
All Implemented Interfaces:
HttpClient

public class HttpClientImpl extends Object implements HttpClient
  • Field Details

    • DEFAULT_REQUEST_CONFIG

      public static final org.apache.http.client.config.RequestConfig DEFAULT_REQUEST_CONFIG
  • Constructor Details

  • Method Details

    • execute

      public HttpResponse execute(org.apache.http.client.methods.HttpRequestBase request)
      Description copied from interface: HttpClient
      Execute request and handle non 200 cases
      Specified by:
      execute in interface HttpClient
      Parameters:
      request - the request to execute
      Returns:
      the string of the body of the response