@FunctionalInterface public interface RESTClient
| Modifier and Type | Method and Description |
|---|---|
ClientResponse |
send(String url,
String requestBody,
Map<String,?> params,
Map<String,String> headers)
Makes a HTTP request to the given URL using the given request body,
parameters and HTTP headers.
|
ClientResponse send(String url, String requestBody, Map<String,?> params, Map<String,String> headers)
url - URL where the request is sentparams - request parametersrequestBody - request bodyheaders - HTTP headers to be added to the requestCopyright © 2014–2017. All rights reserved.