public class UploadNewVersionFileRequest extends DefaultBoxRequest
| Constructor and Description |
|---|
UploadNewVersionFileRequest(IBoxConfig config,
IBoxJSONParser parser,
String fileId,
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(String fileId)
Get uri.
|
addHeader, addHttpParam, addQueryParam, getAuth, getConfig, getCookie, getExpectedResponseCode, getHeaders, getHttpParams, getQueryParams, getRawRequest, getRequestEntity, getRestMethod, prepareRequest, setAuth, setCookie, setEntity, setExpectedResponseCode, setIfMatch, setRequestFieldspublic UploadNewVersionFileRequest(IBoxConfig config, IBoxJSONParser parser, String fileId, BoxFileUploadRequestObject requestObject) throws BoxRestException
config - configparser - json parserfileId - id of the file to be updatedBoxFileUploadRequestObject - requestObjectBoxRestException - exceptionpublic static String getUri(String fileId)
fileId - id of the filepublic 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.