public static class BoxRequestsMetadata.AddItemMetadata<T extends BoxRequestsMetadata.AddItemMetadata,R extends BoxRequestsMetadata.AddItemMetadata<T,R>> extends BoxRequest<BoxMetadata,R>
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 |
|---|
AddItemMetadata(java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.String requestUrl,
BoxSession session)
Creates a add file metadata request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected R |
setValues(java.util.Map<java.lang.String,java.lang.Object> map)
Sets the values of the item used in the request.
|
buildUrl, createHeaderMap, 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 AddItemMetadata(java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.String requestUrl,
BoxSession session)
values - values of the item to add metadata to.requestUrl - URL of the file metadata endpointsession - the authenticated session that will be used to make the request withprotected R setValues(java.util.Map<java.lang.String,java.lang.Object> map)
map - values of the item to add metadata to.