com.dg.libs.rest.HttpRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-rest Show documentation
Show all versions of android-rest Show documentation
This is a library for android for Making RestFul Requests
package com.dg.libs.rest;
/**
* @author darko.grozdanovski The {@link HttpRequest} interface has the
* responsibility to send a request object to the server which is used
* for data exchange with the server behind the scenes. It contains
* methods that run in threads.
*/
public interface HttpRequest {
/**
* This method runs asynchronously in the same thread as the application and
* launches a service for further server communication.
*/
public void executeAsync();
/**
* This method runs in a different thread and executes the request for the
* server.
*/
public abstract void execute();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy