Package com.azwul.api.model.result

Examples of com.azwul.api.model.result.ClicInitResult


    return res;
  }

  public static ClicInitResult buildClicInitResult(HttpResult httpResult) {
    String basicResponse = getBasicResponse(httpResult);
    ClicInitResult res = new ClicInitResult();
    res.setHttpResult(httpResult);
    res.setBasicResponse(basicResponse);

    String resSplit[] = basicResponse.split("\\s");
    if ("OK".equals(resSplit[1])) {
      res.setOk(true);
    }

    res.setSessionId(resSplit[3]);

    return res;
  }
View Full Code Here

TOP

Related Classes of com.azwul.api.model.result.ClicInitResult

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.