public class BaseDriveRequest extends BaseRequest implements IBaseDriveRequest
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BaseDriveRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request for the Drive
|
| Modifier and Type | Method and Description |
|---|---|
Drive |
create(Drive newDrive)
Deprecated.
As of release 1.1.3, replaced by
post(Drive) |
void |
create(Drive newDrive,
ICallback<Drive> callback)
Deprecated.
As of release 1.1.3, replaced by
post(Drive, ICallback) |
void |
delete() |
void |
delete(ICallback<java.lang.Void> callback) |
IDriveRequest |
expand(java.lang.String value) |
Drive |
get() |
void |
get(ICallback<Drive> callback) |
Drive |
patch(Drive sourceDrive) |
void |
patch(Drive sourceDrive,
ICallback<Drive> callback) |
Drive |
post(Drive newDrive) |
void |
post(Drive newDrive,
ICallback<Drive> callback) |
IDriveRequest |
select(java.lang.String value) |
IDriveRequest |
top(int value) |
Drive |
update(Drive sourceDrive)
Deprecated.
As of release 1.1.3, replaced by
patch(Drive) |
void |
update(Drive sourceDrive,
ICallback<Drive> callback)
Deprecated.
As of release 1.1.3, replaced by
patch(Drive, 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 BaseDriveRequest(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<Drive> callback)
get in interface IBaseDriveRequestpublic Drive get() throws ClientException
get in interface IBaseDriveRequestClientException@Deprecated public void update(Drive sourceDrive, ICallback<Drive> callback)
patch(Drive, ICallback)update in interface IBaseDriveRequest@Deprecated public Drive update(Drive sourceDrive) throws ClientException
patch(Drive)update in interface IBaseDriveRequestClientExceptionpublic void patch(Drive sourceDrive, ICallback<Drive> callback)
patch in interface IBaseDriveRequestpublic Drive patch(Drive sourceDrive) throws ClientException
patch in interface IBaseDriveRequestClientExceptionpublic void delete(ICallback<java.lang.Void> callback)
delete in interface IBaseDriveRequestpublic void delete()
throws ClientException
delete in interface IBaseDriveRequestClientException@Deprecated public void create(Drive newDrive, ICallback<Drive> callback)
post(Drive, ICallback)create in interface IBaseDriveRequest@Deprecated public Drive create(Drive newDrive) throws ClientException
post(Drive)create in interface IBaseDriveRequestClientExceptionpublic void post(Drive newDrive, ICallback<Drive> callback)
post in interface IBaseDriveRequestpublic Drive post(Drive newDrive) throws ClientException
post in interface IBaseDriveRequestClientExceptionpublic IDriveRequest select(java.lang.String value)
select in interface IBaseDriveRequestpublic IDriveRequest top(int value)
top in interface IBaseDriveRequestpublic IDriveRequest expand(java.lang.String value)
expand in interface IBaseDriveRequest