public interface RemoteJsonOptionRetriever
Modifier and Type | Method and Description |
---|---|
RemoteJsonResponse |
getRemoteJson(java.lang.String url,
int timeout,
int contimeout,
int retry,
boolean disableRemoteOptionJsonCheck)
Make a remote URL request and return the parsed JSON data and statistics for http requests in a map.
|
RemoteJsonResponse getRemoteJson(java.lang.String url, int timeout, int contimeout, int retry, boolean disableRemoteOptionJsonCheck)
url
- URL to requesttimeout
- request timeout in secondscontimeout
- connection timeout in secondsretry
- number of times to retry the requestdisableRemoteOptionJsonCheck
- require return type to be 'application/json'