Class GoogleAppEngineRequestor

java.lang.Object
com.dropbox.core.http.HttpRequestor
com.dropbox.core.http.GoogleAppEngineRequestor

public class GoogleAppEngineRequestor extends HttpRequestor
HttpRequestor implementation that uses Google App Engine URL fetch service. You can only use this if your project includes the App Engine libraries.

If your app runs in Google App Engine, it is strongly recommended to use this Requestor to ensure certificate validation is performed on all requests.

To use this, pass an instance to the DbxRequestConfig constructor:

     DbxRequestConfig config = DbxRequestConfig.newBuilder("MyAppEngineApp/1.0")
         .withHttpRequestor(new GoogleAppEngineRequestor())
         .build();

     String accessToken = ...;
     DbxClientV2 client = new DbxClientV2(config, accessToken);