Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Method and Description |
---|---|
static byte[] |
DbxRequestUtil.loadErrorBody(HttpRequestor.Response response) |
static <T> T |
DbxRequestUtil.readJsonFromResponse(JsonReader<T> reader,
InputStream body) |
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.
|
static DbxException |
DbxRequestUtil.unexpectedStatus(HttpRequestor.Response response) |
Copyright © 2014. All rights reserved.