Android Open Source - RestLib Rest Result






From Project

Back to project page RestLib.

License

The source code is released under:

MIT License

If you think the Android project RestLib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package github.crazymumu.restlib;
// w ww  . ja  v  a  2s  .  c om
/**
 * Generic interface for receiving a callback result from RestLib. Use this by
 * implement onReceiveResult(RestResponse), which you can then receive results.
 * 
 * @author Crazy MuMu
 */
public interface RestResult {
  /**
   * Called when a result has been dispatched. Always asynchronously to
   * dispatch the result.
   * 
   * @param response  Arbitrary result object to deliver.
   */
  public void onReceiveRestResult(RestResponse response);
}




Java Source Code List

github.crazymumu.restlib.RestRequest.java
github.crazymumu.restlib.RestResponse.java
github.crazymumu.restlib.RestResultReceiver.java
github.crazymumu.restlib.RestResult.java
github.crazymumu.restlib.RestService.java
github.crazymumu.restlib.core.CustomSSLSocketFactory.java
github.crazymumu.restlib.core.HttpsClient.java
github.crazymumu.restlib.core.SSLContextAlgorithm.java
github.crazymumu.restlib.http.RequestMethod.java
github.crazymumu.restlib.http.StatusCode.java
github.crazymumu.restlib.http.UserAgent.java
github.crazymumu.restlib.sample.MainActivity.java