public final class DefaultRESTDataProvider extends Object implements RESTDataProvider
SERVICE_UNAVAILABLE, TOO_MANY_REQUESTS, UNPROCESSABLE_ENTITY| Constructor and Description |
|---|
DefaultRESTDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getJSONResponse(javax.ws.rs.client.WebTarget target)
Invoke a GET call on the web target and return the result as a parsed JSON object.
|
TabularResult |
getTabularResponse(javax.ws.rs.client.WebTarget target)
Invoke a GET call on the web target and return the result as a TabularResult (parsed CSV).
|
public org.json.JSONObject getJSONResponse(javax.ws.rs.client.WebTarget target)
getJSONResponse in interface RESTDataProvidertarget - the WebTarget describing the call to make, not nullpublic TabularResult getTabularResponse(javax.ws.rs.client.WebTarget target)
getTabularResponse in interface RESTDataProvidertarget - the WebTarget describing the call to make, not nullCopyright 2014-Present by Jim Moores
${javadoc.footer.license}