Back to project page android-sync-nosql.
The source code is released under:
MIT License
If you think the Android project android-sync-nosql 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.znck.android.nosql.util; /*from ww w.j a v a 2 s. c om*/ import org.apache.http.Header; import org.json.JSONObject; abstract public class OnResult { public enum ContentType { XML, OdML, JSON, TEXT, UNKNOWN } public ContentType contentType; public abstract void run(int statusCode, Header[] headers, JSONObject response, String responseString); public void fail(int statusCode, Header[] headers, String responseString, Throwable throwable) { } }