Interface to pluggable HTTP client implementation @author mwalton
| 8 | * @author mwalton |
| 9 | */ |
| 10 | public interface HttpClient { |
| 11 | |
| 12 | String httpActionSync(String uri, String method, List<HttpParam> parametersQuery, String body, List<HttpResponse> errors) throws RestException; |
| 13 | |
| 14 | byte[] httpActionSyncAsBytes(String uri, String method, List<HttpParam> parametersQuery, String body, List<HttpResponse> errors) throws RestException; |
| 15 | |
| 16 | void httpActionAsync(String uri, String method, List<HttpParam> parametersQuery, String body, List<HttpResponse> errors, HttpResponseHandler responseHandler, boolean binary) throws RestException; |
| 17 | |
| 18 | void destroy(); |
| 19 | |
| 20 | } |
no outgoing calls
no test coverage detected