Package com.probely.api
Class Client
java.lang.Object
com.probely.api.Client
- All Implemented Interfaces:
 org.apache.hc.core5.http.io.HttpClientResponseHandler<String>
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()execute(org.apache.hc.client5.http.classic.methods.HttpUriRequest request) execute(org.apache.hc.client5.http.classic.methods.HttpUriRequest request, org.apache.hc.core5.http.io.HttpClientResponseHandler<String> handler) org.apache.hc.client5.http.impl.classic.CloseableHttpClienthandleResponse(org.apache.hc.core5.http.ClassicHttpResponse response)  
- 
Constructor Details
- 
Client
 - 
Client
 
 - 
 - 
Method Details
- 
execute
public String execute(org.apache.hc.client5.http.classic.methods.HttpUriRequest request, org.apache.hc.core5.http.io.HttpClientResponseHandler<String> handler) throws IOException - Throws:
 IOException
 - 
close
public void close() - 
execute
public String execute(org.apache.hc.client5.http.classic.methods.HttpUriRequest request) throws IOException - Throws:
 IOException
 - 
handleResponse
public String handleResponse(org.apache.hc.core5.http.ClassicHttpResponse response) throws AuthenticationException, ApiResponseException - Specified by:
 handleResponsein interfaceorg.apache.hc.core5.http.io.HttpClientResponseHandler<String>- Throws:
 AuthenticationExceptionApiResponseException
 - 
getHttpClient
public org.apache.hc.client5.http.impl.classic.CloseableHttpClient getHttpClient() 
 -