public class BaseItemRequest extends BaseRequest implements IBaseItemRequest
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BaseItemRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request for the Item
|
| Modifier and Type | Method and Description |
|---|---|
Item |
create(Item newItem)
Deprecated.
As of release 1.1.3, replaced by
post(Item) |
void |
create(Item newItem,
ICallback<Item> callback)
Deprecated.
As of release 1.1.3, replaced by
post(Item, ICallback) |
void |
delete() |
void |
delete(ICallback<java.lang.Void> callback) |
IItemRequest |
expand(java.lang.String value) |
Item |
get() |
void |
get(ICallback<Item> callback) |
Item |
patch(Item sourceItem) |
void |
patch(Item sourceItem,
ICallback<Item> callback) |
Item |
post(Item newItem) |
void |
post(Item newItem,
ICallback<Item> callback) |
IItemRequest |
select(java.lang.String value) |
IItemRequest |
top(int value) |
Item |
update(Item sourceItem)
Deprecated.
As of release 1.1.3, replaced by
patch(Item) |
void |
update(Item sourceItem,
ICallback<Item> callback)
Deprecated.
As of release 1.1.3, replaced by
patch(Item, 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 BaseItemRequest(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<Item> callback)
get in interface IBaseItemRequestpublic Item get() throws ClientException
get in interface IBaseItemRequestClientException@Deprecated public void update(Item sourceItem, ICallback<Item> callback)
patch(Item, ICallback)update in interface IBaseItemRequest@Deprecated public Item update(Item sourceItem) throws ClientException
patch(Item)update in interface IBaseItemRequestClientExceptionpublic void patch(Item sourceItem, ICallback<Item> callback)
patch in interface IBaseItemRequestpublic Item patch(Item sourceItem) throws ClientException
patch in interface IBaseItemRequestClientExceptionpublic void delete(ICallback<java.lang.Void> callback)
delete in interface IBaseItemRequestpublic void delete()
throws ClientException
delete in interface IBaseItemRequestClientException@Deprecated public void create(Item newItem, ICallback<Item> callback)
post(Item, ICallback)create in interface IBaseItemRequest@Deprecated public Item create(Item newItem) throws ClientException
post(Item)create in interface IBaseItemRequestClientExceptionpublic void post(Item newItem, ICallback<Item> callback)
post in interface IBaseItemRequestpublic Item post(Item newItem) throws ClientException
post in interface IBaseItemRequestClientExceptionpublic IItemRequest select(java.lang.String value)
select in interface IBaseItemRequestpublic IItemRequest top(int value)
top in interface IBaseItemRequestpublic IItemRequest expand(java.lang.String value)
expand in interface IBaseItemRequest