Package com.saya.response

Examples of com.saya.response.ResgisterRs


          validate = Boolean.valueOf(false);
          des = "Có lỗi khi đăng ký";
        }
      }
    }
    ResgisterRs rs = new ResgisterRs();
    if (validate.booleanValue())
      rs.setCode("0");
    else {
      rs.setCode("1");
    }
    rs.setMessage(des);
    rs.setPhonenumber(phoneNumber);
    Gson gson = new Gson();

    resp.getWriter().println(gson.toJson(rs));
  }
View Full Code Here

TOP

Related Classes of com.saya.response.ResgisterRs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.