Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. public JSONObject getAllAlerts(String hash) {
  2.         this.collection.clear();
  3.         setHash(hash);
  4.  
  5.         try {
  6.             Response response = new CreateRequest().execute(METHOD_GET_ALL_ALERTS, this.collection);
  7.             this.json = new JSONObject(response.body().string());
  8.  
  9.         } catch (IOException e) {
  10.             e.printStackTrace();
  11.         }
  12.         return this.json;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement