Package org.butor.json

Examples of org.butor.json.CommonRequestArgs


      ctx_.getResponseHandler().addMessage(new Message(0, MessageType.ERROR, msg));
      return;
    }

    try {
      final CommonRequestArgs cr = new CommonRequestArgs();
      cr.setLang(req.getLang());
      cr.setReqId(req.getReqId());
      cr.setSessionId(req.getSessionId());
      cr.setUserId(req.getUserId());
      Context ctx = new Context() {
        @Override
        public ResponseHandler<Object> getResponseHandler() {
          return ctx_.getResponseHandler();
        }
View Full Code Here


  public CommonRequestArgsFactory(CommonRequestArgs template) {
    this.template = template;
  }

  public CommonRequestArgs create() {
    CommonRequestArgs cra = new CommonRequestArgs();
    BeanUtils.copyProperties(template, cra);
    cra.setReqId("R-" + UUID.randomUUID().toString());
    return cra;
  }
View Full Code Here

TOP

Related Classes of org.butor.json.CommonRequestArgs

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.