Back to project page Taekwondo-Time-Tracker-Android.
The source code is released under:
Apache License
If you think the Android project Taekwondo-Time-Tracker-Android 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.hackbitstudios.taekwondo_time_tracker_android.api.taekwondo.post; /*from w ww. j a v a 2 s.com*/ import com.hackbitstudios.taekwondo_time_tracker_android.api.ApiDownloader; import com.hackbitstudios.taekwondo_time_tracker_android.api.ApiModel; import org.apache.http.HttpEntity; /** * Created by Robert on 9/2/2014. * The following file performs a post method to store a punchcard. It does not do much processing. */ public abstract class ApiDownloaderPost extends ApiDownloader{ //region CTOR public ApiDownloaderPost (ApiModel _apiModel) { super(_apiModel); } //endregion //region METHOD OVERRIDES @Override protected void onPostExecute(Void result) { super.onPostExecute(result); onResponse (wasSuccessful, error); } /* Processes the HTTP Entity and spits out the result in the form of an Array List */ @Override protected void processHttpEntity (HttpEntity _entity) { // Nothing to process, if we got this far then there were no http errors wasSuccessful = true; } //endregion /* Return stats and error information to calling class */ public abstract void onResponse(boolean wasSuccessful, String error); //endregion }