public static class BoxRequestsFile.CommitUploadSession extends BoxRequest<BoxFile,BoxRequestsFile.CommitUploadSession>
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 |
|---|
CommitUploadSession(java.util.List<BoxUploadSessionPart> uploadedParts,
java.util.Map<java.lang.String,java.lang.String> attributes,
java.lang.String ifMatch,
java.lang.String ifNoneMatch,
BoxUploadSession uploadSession,
BoxSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createHeaderMap() |
BoxUploadSession |
getUploadSession() |
buildUrl, createHttpRequest, createQuery, equals, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, onSendCompleted, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic CommitUploadSession(java.util.List<BoxUploadSessionPart> uploadedParts, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.String ifMatch, java.lang.String ifNoneMatch, BoxUploadSession uploadSession, BoxSession session)
uploadedParts - the list of uploaded parts to be committed.attributes - optional key value pairs of attributes from the file instance.ifMatch - optional ifMatch header that ensures that your app only alters
files/folders on Box if you have the current version.ifNoneMatch - optional ifNoneMatch header that ensures that you don't retrieve unnecessary
data if the most current version of file is on-hand.uploadSession - protected void createHeaderMap()
createHeaderMap in class BoxRequest<BoxFile,BoxRequestsFile.CommitUploadSession>public BoxUploadSession getUploadSession()