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