Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android_mvc.framework.net; // w w w . j a va2 s. c om import com.android_mvc.framework.controller.routing.IntentPortable; /** * HTTP???????????????????? * @author id:language_and_engineering * */ public class HttpPostResponse implements IntentPortable { // Intent??????? private static final long serialVersionUID = 1L; private String err_msg; private boolean request_success_flag = false; private String responseText; /** * ??????????? */ public HttpPostResponse err(String err_msg) { this.err_msg = err_msg; request_success_flag = false; return this; } /** * ????????????????? * @param responseText */ public void setTextOnSuccess(String responseText) { this.responseText = responseText; request_success_flag = true; } /** * ?????????????????????????? */ public boolean isSuccess() { return request_success_flag; } /** * ?????????????????????? */ public String getText() { return responseText; } /** * ????????????????????????????????? */ public String getErrMsg() { return err_msg; } }