public class UploadFileRequest extends DefaultBoxRequest
Constructor and Description |
---|
UploadFileRequest(IBoxConfig config,
IBoxJSONParser parser,
BoxFileUploadRequestObject requestObject)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiUrlPath()
Get api path for the api call.
|
java.lang.String |
getAuthority()
Get authority for the api call.
|
java.lang.String |
getScheme()
Get scheme for the api call.
|
static java.lang.String |
getUri()
Get uri.
|
addHeader, addHttpParam, addQueryParam, getAuth, getConfig, getCookie, getExpectedResponseCode, getHeaders, getHttpParams, getQueryParams, getRawRequest, getRequestEntity, getRestMethod, prepareRequest, setAuth, setCookie, setEntity, setExpectedResponseCode, setIfMatch, setRequestFields
public 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 java.lang.String getUri()
public java.lang.String getScheme()
IBoxRequest
getScheme
in interface IBoxRequest
getScheme
in class DefaultBoxRequest
public java.lang.String getAuthority()
IBoxRequest
getAuthority
in interface IBoxRequest
getAuthority
in class DefaultBoxRequest
public java.lang.String getApiUrlPath()
IBoxRequest
getApiUrlPath
in interface IBoxRequest
getApiUrlPath
in class DefaultBoxRequest