Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public JSONObject getAllAlerts(String hash) {
- this.collection.clear();
- setHash(hash);
- try {
- Response response = new CreateRequest().execute(METHOD_GET_ALL_ALERTS, this.collection);
- this.json = new JSONObject(response.body().string());
- } catch (IOException e) {
- e.printStackTrace();
- }
- return this.json;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement