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.hc.client5.http.config.RequestConfig DEFAULT_REQUEST_CONFIG
  • Constructor Details

  • Method Details

    • execute

      public HttpResponse execute(org.apache.hc.client5.http.classic.methods.HttpUriRequestBase 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 response wrapper