Back to project page cloudmine-android.
The source code is released under:
Copyright (c) 2012 CloudMine LLC, http://cloudmine.me Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
If you think the Android project cloudmine-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.cloudmine.api.rest; /*from w w w .j a va 2s.c om*/ import com.cloudmine.api.rest.callbacks.AndroidCallback; import com.cloudmine.api.rest.callbacks.Callback; import com.cloudmine.api.rest.response.ResponseConstructor; import com.cloudmine.api.loopj.AsyncHttpClient; import org.apache.http.client.methods.HttpUriRequest; /** * Implementation of AsynchronousHttpClient for the Android platform. * <br>Copyright CloudMine LLC. All rights reserved<br> See LICENSE file included with SDK for details. */ public class AndroidAsynchronousHttpClient extends AsyncHttpClient implements AsynchronousHttpClient{ @Override public <T> void executeCommand(HttpUriRequest command, Callback<T> callback, ResponseConstructor<T> constructor) { execute(command, new AndroidCallback(callback, constructor)); } }