Package | Description |
---|---|
com.dropbox.core | |
com.dropbox.core.http |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
DbxRequestUtil.finishResponse(HttpRequestor.Response response,
DbxRequestUtil.ResponseHandler<T> handler) |
static String |
DbxRequestUtil.getFirstHeader(HttpRequestor.Response response,
String name) |
static String |
DbxRequestUtil.getFirstHeaderMaybe(HttpRequestor.Response response,
String name) |
abstract T |
DbxRequestUtil.ResponseHandler.handle(HttpRequestor.Response response) |
static byte[] |
DbxRequestUtil.loadErrorBody(HttpRequestor.Response response) |
static DbxException |
DbxRequestUtil.unexpectedStatus(HttpRequestor.Response response) |
Modifier and Type | Method and Description |
---|---|
HttpRequestor.Response |
StandardHttpRequestor.doGet(String url,
Iterable<HttpRequestor.Header> headers) |
abstract HttpRequestor.Response |
HttpRequestor.doGet(String url,
Iterable<HttpRequestor.Header> headers) |
abstract HttpRequestor.Response |
HttpRequestor.Uploader.finish() |
Copyright © 2014. All rights reserved.