Android Open Source - RESTExplorer R E S T Response Record






From Project

Back to project page RESTExplorer.

License

The source code is released under:

MIT License

If you think the Android project RESTExplorer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.cmn397.restexplorer;
/*from  w  w  w.  j a va 2 s  . com*/
public class RESTResponseRecord {
  String data = "";
  String contentType = "";

  Exception e = null;

  public String getData() {
    return this.data;
  }
  public void setData(String data) {
    this.data = data;
  }

  public String getContentType() {
    return this.contentType;
  }
  public void setContentType(String cType) {
    this.contentType = cType;
  }

  public String getStringResult() {
    if (null != e)
      return e.getMessage();
    else
      return data;
  }

  public Exception getE() {
    return this.e;
  }

  public void setE(Exception e) {
    this.e = e;
  }
}




Java Source Code List

com.cmn397.restexplorer.ChooseRequestFragment.java
com.cmn397.restexplorer.MainActivity.java
com.cmn397.restexplorer.RESTAsyncClient.java
com.cmn397.restexplorer.RESTRequestRecord.java
com.cmn397.restexplorer.RESTResponseRecord.java
com.cmn397.restexplorer.RequestDetailFragment.java
com.cmn397.restexplorer.ResponseTypeHandler.java
com.cmn397.restexplorer.ResultFragment.java
com.cmn397.restexplorer.ServerDBOpenHelper.java