Package com.codebarrel.tenant.api.http
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 TypeMethodDescriptionexecute(org.apache.http.client.methods.HttpRequestBase request) Execute request and handle non 200 cases
-
Method Details
-
execute
Execute request and handle non 200 cases- Parameters:
request- the request to execute- Returns:
- the string of the body of the response
-