public class UploadFileRequest extends DefaultBoxRequest
| Constructor and Description |
|---|
UploadFileRequest(IBoxConfig config,
IBoxJSONParser parser,
BoxFileUploadRequestObject requestObject)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApiUrlPath()
Get api path for the api call.
|
String |
getAuthority()
Get authority for the api call.
|
String |
getScheme()
Get scheme for the api call.
|
static String |
getUri()
Get uri.
|
addHeader, addHttpParam, addQueryParam, getAuth, getConfig, getCookie, getExpectedResponseCode, getHeaders, getHttpParams, getQueryParams, getRawRequest, getRequestEntity, getRestMethod, prepareRequest, setAuth, setCookie, setEntity, setExpectedResponseCode, setIfMatch, setRequestFieldspublic UploadFileRequest(IBoxConfig config, IBoxJSONParser parser, BoxFileUploadRequestObject requestObject) throws BoxRestException
config - configparser - json parserparentId - id of the parent folderfiles - a LinkedHashMap, each entry is for one file, key of the entry is the name of the file after uploaded to box, value of the entry is the local
file to be uploadedlistener - listener to monitor file upload progressBoxRestException - exceptionpublic static String getUri()
public String getScheme()
IBoxRequestgetScheme in interface IBoxRequestgetScheme in class DefaultBoxRequestpublic String getAuthority()
IBoxRequestgetAuthority in interface IBoxRequestgetAuthority in class DefaultBoxRequestpublic String getApiUrlPath()
IBoxRequestgetApiUrlPath in interface IBoxRequestgetApiUrlPath in class DefaultBoxRequestCopyright © 2014. All Rights Reserved.