Android Open Source - transloadit-Android-sdk I Request Executor






From Project

Back to project page transloadit-Android-sdk.

License

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.

Java Source Code

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;
  
}




Java Source Code List

hu.szabot.transloadit.ApiData.java
hu.szabot.transloadit.IApiRequest.java
hu.szabot.transloadit.IApiResponse.java
hu.szabot.transloadit.ITransloadit.java
hu.szabot.transloadit.TransloaditRequest.java
hu.szabot.transloadit.TransloaditResponse.java
hu.szabot.transloadit.Transloadit.java
hu.szabot.transloadit.assembly.AssemblyBuilder.java
hu.szabot.transloadit.assembly.IAssemblyBuilder.java
hu.szabot.transloadit.assembly.IStep.java
hu.szabot.transloadit.assembly.Step.java
hu.szabot.transloadit.assembly.exceptions.AlreadyDefinedKeyException.java
hu.szabot.transloadit.assembly.exceptions.InvalidFieldKeyException.java
hu.szabot.transloadit.exceptions.FileNotOpenableException.java
hu.szabot.transloadit.exceptions.NotParseableException.java
hu.szabot.transloadit.executor.DefaultHttpExecutor.java
hu.szabot.transloadit.executor.IRequestExecutor.java
hu.szabot.transloadit.executor.ParsedApiData.java
hu.szabot.transloadit.log.TransloaditLogger.java
hu.szabot.transloadit.parser.IRequestParser.java
hu.szabot.transloadit.parser.IResponseParser.java
hu.szabot.transloadit.parser.JSONRequestParser.java
hu.szabot.transloadit.parser.JSONResponseParser.java
hu.szabot.transloadit.utils.ShaUtils.java