public static class BoxRequestsShare.GetPendingCollaborations extends BoxRequest<BoxIteratorCollaborations,BoxRequestsShare.GetPendingCollaborations> implements BoxCacheableRequest<BoxIteratorCollaborations>
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 |
|---|
GetPendingCollaborations(java.lang.String requestUrl,
BoxSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSendCompleted(BoxResponse<BoxIteratorCollaborations> response)
Post action that will be performed after a successful send occurs.
|
BoxIteratorCollaborations |
sendForCachedResult()
Sends the request to fetch results from cache synchronously.
|
BoxFutureTask<BoxIteratorCollaborations> |
toTaskForCachedResult()
Converts the request to a BoxCacheFutureTask that can be used to execute the request
asynchronously.
|
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 GetPendingCollaborations(java.lang.String requestUrl,
BoxSession session)
public BoxIteratorCollaborations sendForCachedResult() throws BoxException
BoxCacheableRequestsendForCachedResult in interface BoxCacheableRequest<BoxIteratorCollaborations>BoxException - thrown if there is no implementation of BoxCache set in BoxConfig, or if
there was another issue getting cached results.public BoxFutureTask<BoxIteratorCollaborations> toTaskForCachedResult() throws BoxException
BoxCacheableRequesttoTaskForCachedResult in interface BoxCacheableRequest<BoxIteratorCollaborations>BoxException - thrown if there is no implementation of BoxCache set in BoxConfig.protected void onSendCompleted(BoxResponse<BoxIteratorCollaborations> response) throws BoxException
BoxRequestonSendCompleted in class BoxRequest<BoxIteratorCollaborations,BoxRequestsShare.GetPendingCollaborations>response - response of the BoxRequestBoxException - thrown if there was a problem with handling the request.