public class RestApi extends Api
| Constructor and Description |
|---|
RestApi(Credentials credentials) |
RestApi(Credentials credentials,
String url) |
| Modifier and Type | Method and Description |
|---|---|
<S> S |
send(Request<S> request) |
protected String |
toQueryString(String url,
Map<String,String> parameters) |
collectResponse, setRequestPropertiesprotected static Logger logger
public RestApi(Credentials credentials)
public RestApi(Credentials credentials, String url)
public <S> S send(Request<S> request) throws FlowthingsException
FlowthingsExceptionprotected String toQueryString(String url, Map<String,String> parameters) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2016. All rights reserved.