public class BaseShareRequest extends BaseRequest implements IBaseShareRequest
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BaseShareRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request for the Share
|
| Modifier and Type | Method and Description |
|---|---|
Share |
create(Share newShare)
Deprecated.
As of release 1.1.3, replaced by
post(Share) |
void |
create(Share newShare,
ICallback<Share> callback)
Deprecated.
As of release 1.1.3, replaced by
post(Share, ICallback) |
void |
delete() |
void |
delete(ICallback<java.lang.Void> callback) |
IShareRequest |
expand(java.lang.String value) |
Share |
get() |
void |
get(ICallback<Share> callback) |
Share |
patch(Share sourceShare) |
void |
patch(Share sourceShare,
ICallback<Share> callback) |
Share |
post(Share newShare) |
void |
post(Share newShare,
ICallback<Share> callback) |
IShareRequest |
select(java.lang.String value) |
IShareRequest |
top(int value) |
Share |
update(Share sourceShare)
Deprecated.
As of release 1.1.3, replaced by
patch(Share) |
void |
update(Share sourceShare,
ICallback<Share> callback)
Deprecated.
As of release 1.1.3, replaced by
patch(Share, ICallback) |
addHeader, getClient, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, send, send, setHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getHeaders, getHttpMethod, getOptions, getRequestUrlpublic BaseShareRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
requestUrl - The request urlclient - The service clientoptions - The options for this requestpublic void get(ICallback<Share> callback)
get in interface IBaseShareRequestpublic Share get() throws ClientException
get in interface IBaseShareRequestClientException@Deprecated public void update(Share sourceShare, ICallback<Share> callback)
patch(Share, ICallback)update in interface IBaseShareRequest@Deprecated public Share update(Share sourceShare) throws ClientException
patch(Share)update in interface IBaseShareRequestClientExceptionpublic void patch(Share sourceShare, ICallback<Share> callback)
patch in interface IBaseShareRequestpublic Share patch(Share sourceShare) throws ClientException
patch in interface IBaseShareRequestClientExceptionpublic void delete(ICallback<java.lang.Void> callback)
delete in interface IBaseShareRequestpublic void delete()
throws ClientException
delete in interface IBaseShareRequestClientException@Deprecated public void create(Share newShare, ICallback<Share> callback)
post(Share, ICallback)create in interface IBaseShareRequest@Deprecated public Share create(Share newShare) throws ClientException
post(Share)create in interface IBaseShareRequestClientExceptionpublic void post(Share newShare, ICallback<Share> callback)
post in interface IBaseShareRequestpublic Share post(Share newShare) throws ClientException
post in interface IBaseShareRequestClientExceptionpublic IShareRequest select(java.lang.String value)
select in interface IBaseShareRequestpublic IShareRequest top(int value)
top in interface IBaseShareRequestpublic IShareRequest expand(java.lang.String value)
expand in interface IBaseShareRequest