Back to project page NetworkFacade.
The source code is released under:
Apache License
If you think the Android project NetworkFacade 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.saguinav.networkfacade; // w w w . j a va2 s. co m public interface HttpClient { /** * Executes the Http request encapsulated into request and * returns the response value or error though the given callback. * * @param request The encapsulated Http request to be executed */ public void performRequest(HttpRequest request, ResponseListener responseListener); static interface ResponseListener { public void onSuccess(String response); public void onFailure(HttpError error); } }