Back to project page transloadit-Android-sdk.
The source code is released under:
MIT License
If you think the Android project transloadit-Android-sdk 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 hu.szabot.transloadit.executor; //from w w w . jav a 2 s. c om import hu.szabot.transloadit.IApiRequest.RequestMethod; import java.io.IOException; import java.net.URI; import org.apache.http.client.ClientProtocolException; public interface IRequestExecutor { /** Sets the request URI * * @param uri Destination URI */ public void setUri(URI uri); /** Sets the request method * * @param method The method */ public void setMethod(RequestMethod method); /**Executes the current requests and gets the result * * @param data The parsed ApiData * @return The server response * @throws ClientProtocolException Signals an error in the HTTP protocol. * @throws IOException Thrown when I/O error occurred in the communication. */ public String execute(ParsedApiData data) throws ClientProtocolException, IOException; }