public static class BoxRequestsFile.GetEmbedLinkFileInfo extends BoxRequestItem<BoxExpiringEmbedLinkFile,BoxRequestsFile.GetEmbedLinkFileInfo>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
GetEmbedLinkFileInfo(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates a file information request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIfNoneMatchEtag()
Returns the etag currently set in the if-none-match header.
|
BoxRequestsFile.GetEmbedLinkFileInfo |
setFields(java.lang.String... fields)
Sets the fields to return in the response.
|
BoxRequestsFile.GetEmbedLinkFileInfo |
setIfNoneMatchEtag(java.lang.String etag)
Sets the if-none-match header for the request.
|
getId, onSendCompletedbuildUrl, createHeaderMap, createHttpRequest, createQuery, equals, getIfMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfMatchEtag, setRequestHandler, setTimeOut, toTaskpublic GetEmbedLinkFileInfo(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the file to get information onrequestUrl - URL of the file information endpointsession - the authenticated session that will be used to make the request withpublic BoxRequestsFile.GetEmbedLinkFileInfo setFields(java.lang.String... fields)
BoxRequestItemsetFields in class BoxRequestItem<BoxExpiringEmbedLinkFile,BoxRequestsFile.GetEmbedLinkFileInfo>fields - fields to return in the response.public BoxRequestsFile.GetEmbedLinkFileInfo setIfNoneMatchEtag(java.lang.String etag)
setIfNoneMatchEtag in class BoxRequest<BoxExpiringEmbedLinkFile,BoxRequestsFile.GetEmbedLinkFileInfo>etag - etag to set in the if-none-match header.public java.lang.String getIfNoneMatchEtag()
getIfNoneMatchEtag in class BoxRequest<BoxExpiringEmbedLinkFile,BoxRequestsFile.GetEmbedLinkFileInfo>