public class DownloadFileRequest extends DefaultBoxRequest
| Constructor and Description |
|---|
DownloadFileRequest(IBoxConfig config,
IBoxJSONParser parser,
String fileId,
BoxDefaultRequestObject requestObject)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthority()
Get authority for the api call.
|
String |
getScheme()
Get scheme for the api call.
|
static String |
getUri(String fileId)
Get uri.
|
addHeader, addHttpParam, addQueryParam, getApiUrlPath, getAuth, getConfig, getCookie, getExpectedResponseCode, getHeaders, getHttpParams, getQueryParams, getRawRequest, getRequestEntity, getRestMethod, prepareRequest, setAuth, setCookie, setEntity, setExpectedResponseCode, setIfMatch, setRequestFieldspublic DownloadFileRequest(IBoxConfig config, IBoxJSONParser parser, String fileId, BoxDefaultRequestObject requestObject) throws BoxRestException
config - configparser - json parserfileId - id of the file to be downloadedrequestObject - request objectBoxRestException - exceptionpublic static String getUri(String fileId)
fileId - id of filepublic String getScheme()
IBoxRequestgetScheme in interface IBoxRequestgetScheme in class DefaultBoxRequestpublic String getAuthority()
IBoxRequestgetAuthority in interface IBoxRequestgetAuthority in class DefaultBoxRequestCopyright © 2014. All Rights Reserved.