File tree Expand file tree Collapse file tree
src/main/java/com/dropbox/core/http Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 * <p> If your app runs in Google App Engine, it is strongly recommended to use this Requestor to
2828 * ensure certificate validation is performed on all requests.
2929 *
30- * <p> To use this, pass an instance to the {@link com.dropbox.core.DbxRequestConfig} constructor.
30+ * <p> To use this, pass an instance to the {@link com.dropbox.core.DbxRequestConfig} constructor:
31+ *
32+ * <pre>
33+ * DbxRequestConfig config = DbxRequestConfig.newBuilder("MyAppEngineApp/1.0")
34+ * .withHttpRequestor(new GoogleAppEngineRequestor())
35+ * .build();
36+ *
37+ * String accessToken = ...;
38+ * DbxClientV2 client = new DbxClientV2(config, accessToken);
39+ * </pre>
3140 */
3241public class GoogleAppEngineRequestor extends HttpRequestor {
3342 private final URLFetchService service ;
You can’t perform that action at this time.
0 commit comments