T - type of result retrieved using this HTTP connectionpublic interface Connection<T>
| Modifier and Type | Method and Description |
|---|---|
T |
getResult()
Send a GET request and parse the result into object of given
Type. |
T |
getResult(String data)
Send a POST request and parse the result into object of given
Type. |
T getResult() throws SaltException
Type.SaltException - if the request was not successfulT getResult(String data) throws SaltException
Type.data - the data to send (in JSON format)SaltException - if the request was not successfulCopyright © 2016. All rights reserved.