public class CopyItemRequest extends DefaultBoxRequest
| Constructor and Description |
|---|
CopyItemRequest(IBoxConfig config,
IBoxJSONParser parser,
String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getUri(String id,
BoxResourceType type)
Get uri.
|
addHeader, addHttpParam, addQueryParam, getApiUrlPath, getAuth, getAuthority, getConfig, getCookie, getExpectedResponseCode, getHeaders, getHttpParams, getQueryParams, getRawRequest, getRequestEntity, getRestMethod, getScheme, prepareRequest, setAuth, setCookie, setEntity, setExpectedResponseCode, setIfMatch, setRequestFieldspublic static final String URI
public CopyItemRequest(IBoxConfig config, IBoxJSONParser parser, String id, BoxDefaultRequestObject requestObject, BoxResourceType type) throws BoxRestException
config - configparser - json parserid - id of the item to be copiedrequestObject - request objecttype - resource type of the itemBoxRestException - exceptionpublic static String getUri(String id, BoxResourceType type)
id - id of the item to be copiedtype - whether it is a folderCopyright © 2014. All Rights Reserved.