Back to project page RESTExplorer.
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.
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; } }