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