Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Method and Description |
---|---|
DbxRequestConfig |
DbxClient.getRequestConfig()
Returns the
DbxRequestConfig that was passed in to the constructor. |
Modifier and Type | Method and Description |
---|---|
static ArrayList<HttpRequestor.Header> |
DbxRequestUtil.addUserAgentHeader(ArrayList<HttpRequestor.Header> headers,
DbxRequestConfig requestConfig) |
static HttpRequestor.Header |
DbxRequestUtil.buildUserAgentHeader(DbxRequestConfig requestConfig) |
static <T> T |
DbxRequestUtil.doGet(DbxRequestConfig requestConfig,
String accessToken,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers,
DbxRequestUtil.ResponseHandler<T> handler) |
static <T> T |
DbxRequestUtil.doPost(DbxRequestConfig requestConfig,
String accessToken,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers,
DbxRequestUtil.ResponseHandler<T> handler) |
static <T> T |
DbxRequestUtil.doPostNoAuth(DbxRequestConfig requestConfig,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers,
DbxRequestUtil.ResponseHandler<T> handler) |
static HttpRequestor.Response |
DbxRequestUtil.startGet(DbxRequestConfig requestConfig,
String accessToken,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers)
Convenience function for making HTTP GET requests.
|
static HttpRequestor.Response |
DbxRequestUtil.startPostNoAuth(DbxRequestConfig requestConfig,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers)
Convenience function for making HTTP POST requests.
|
static HttpRequestor.Uploader |
DbxRequestUtil.startPut(DbxRequestConfig requestConfig,
String accessToken,
String host,
String path,
String[] params,
ArrayList<HttpRequestor.Header> headers)
Convenience function for making HTTP PUT requests.
|
Constructor and Description |
---|
DbxClient(DbxRequestConfig requestConfig,
String accessToken) |
DbxClient(DbxRequestConfig requestConfig,
String accessToken,
DbxHost host)
The same as
DbxClient.DbxClient(DbxRequestConfig, String) except you can also set the
hostnames of the Dropbox API servers. |
DbxOAuth1Upgrader(DbxRequestConfig requestConfig,
DbxAppInfo appInfo) |
DbxWebAuth(DbxRequestConfig requestConfig,
DbxAppInfo appInfo,
String redirectUri,
DbxSessionStore csrfTokenStore) |
DbxWebAuthNoRedirect(DbxRequestConfig requestConfig,
DbxAppInfo appInfo) |
Copyright © 2014. All rights reserved.