Beispiel #1
0
 public static Response Error(String string) {
   Response r = new Response();
   r.setStatus("ERROR");
   r.setMsg(string);
   return r;
 }
Beispiel #2
0
 public static Response Ok(String string) {
   Response r = new Response();
   r.setStatus("OK");
   r.setMsg(string);
   return r;
 }