public static class BoxRequestsFile.DeleteFile extends BoxRequestItemDelete<BoxRequestsFile.DeleteFile>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmIdJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
DeleteFile(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates a delete file request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSendCompleted(BoxResponse<BoxVoid> response)
Post action that will be performed after a successful send occurs.
|
getId, getIfMatchEtag, setIfMatchEtagbuildUrl, createHeaderMap, createHttpRequest, createQuery, equals, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic DeleteFile(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the file to deleterequestUrl - URL of the delete file endpointsession - the authenticated session that will be used to make the request withprotected void onSendCompleted(BoxResponse<BoxVoid> response) throws BoxException
BoxRequestonSendCompleted in class BoxRequest<BoxVoid,BoxRequestsFile.DeleteFile>response - response of the BoxRequestBoxException - thrown if there was a problem with handling the request.