public class RestClient extends Object
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
get(String path)
Get response from path
|
net.sf.json.JSONObject |
get(String path,
int retryCount)
Get response from path
|
net.sf.json.JSONObject |
getScanResult(String scanId)
Get scan result
|
Boolean |
isAuthorized()
Is authorized
|
public net.sf.json.JSONObject getScanResult(String scanId)
scanId - scanIdpublic Boolean isAuthorized()
public net.sf.json.JSONObject get(String path)
path - pathpublic net.sf.json.JSONObject get(String path, int retryCount)
path - pathretryCount - retryCountCopyright © 2016–2017 EACG, Enterprise Architecture Consulting Group GmbH. All rights reserved.