Back to project page Mamytas.
The source code is released under:
GNU General Public License
If you think the Android project Mamytas 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 mn.aug.restfulandroid.rest; /*from w w w .j a v a 2s . c om*/ import mn.aug.restfulandroid.rest.resource.Resource; public class RestMethodResult<T extends Resource> { private int statusCode = 0; private String statusMsg; private T resource; public RestMethodResult(int statusCode, String statusMsg, T resource) { super(); this.statusCode = statusCode; this.statusMsg = statusMsg; this.resource = resource; } public int getStatusCode() { return statusCode; } public String getStatusMsg() { return statusMsg; } public T getResource() { return resource; } }