Package com.dataopen.sdk
Class Client
java.lang.Object
com.dataopen.sdk.Client
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
app_id
-
app_secret
-
url
-
env
-
expiration
-
OPEN_APIS_PATH
- See Also:
-
-
Constructor Details
-
Client
-
Client
-
-
Method Details
-
request
- Throws:
IOException
-
request
public Map<String,Object> request(String service_url, String method, Map<String, String> headers, Map<String, throws IOExceptionObject> params, Map<String, Object> body) - Throws:
IOException
-
handle_token
- Throws:
IOException
-
is_authenticated
public boolean is_authenticated() -
_valid_token
public boolean _valid_token()
-