Android Open Source - RestIt Request Options






From Project

Back to project page RestIt.

License

The source code is released under:

Apache License

If you think the Android project RestIt 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 org.restit.network;
//w ww. j  a v  a  2  s  .com
public class RequestOptions {

  private boolean chunckedStreamingMode = true;
  private String overrideBaseUrl;
  
  public String getOverrideBaseUrl() {
    return overrideBaseUrl;
  }

  /**
   * Set a base URL that will override the stock rest it URL
   * @param overrideBaseUrl
   */
  public void setOverrideBaseUrl(String overrideBaseUrl) {
    this.overrideBaseUrl = overrideBaseUrl;
  }

  public boolean isChunckedStreamingMode() {
    return chunckedStreamingMode;
  }

  /**
   * Should file uploads support chunked streaming mode
   * @param chunckedStreamingMode
   */
  public void setChunckedStreamingMode(boolean chunckedStreamingMode) {
    this.chunckedStreamingMode = chunckedStreamingMode;
  }
  
  
}




Java Source Code List

org.restit.model.ServerError.java
org.restit.model.serialization.ServerErrorDeserializer.java
org.restit.model.serialization.ServerErrorSerializer.java
org.restit.network.AsyncCallback.java
org.restit.network.ContentType.java
org.restit.network.IRestItNetworkListener.java
org.restit.network.NetworkNotAvailableException.java
org.restit.network.NetworkUtil.java
org.restit.network.ProgressListener.java
org.restit.network.RequestMethod.java
org.restit.network.RequestOptions.java
org.restit.network.RestItClient.java
org.restit.network.RestItNetworkStatus.java
org.restit.network.RestIt.java
org.restit.network.ServerAsyncTask.java
org.restit.network.ServerErrorException.java
org.restit.network.insecure.NullHostNameVerifier.java
org.restit.network.insecure.NullX509TrustManager.java
org.restit.objectmapping.ClassRegistration.java
org.restit.objectmapping.ObjectMapping.java
org.restit.objectmapping.RestItMapper.java