public interface ITodoTaskRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super TodoTask> callback)
Delete this item from the service
|
ITodoTaskRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TodoTask |
get()
Gets the TodoTask from the service
|
void |
get(ICallback<? super TodoTask> callback)
Gets the TodoTask from the service
|
TodoTask |
patch(TodoTask sourceTodoTask)
Patches this TodoTask with a source
|
void |
patch(TodoTask sourceTodoTask,
ICallback<? super TodoTask> callback)
Patches this TodoTask with a source
|
TodoTask |
post(TodoTask newTodoTask)
Posts a TodoTask with a new object
|
void |
post(TodoTask newTodoTask,
ICallback<? super TodoTask> callback)
Posts a TodoTask with a new object
|
TodoTask |
put(TodoTask newTodoTask)
Posts a TodoTask with a new object
|
void |
put(TodoTask newTodoTask,
ICallback<? super TodoTask> callback)
Posts a TodoTask with a new object
|
ITodoTaskRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super TodoTask> callback)
callback - the callback to be called after success or failureTodoTask get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super TodoTask> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(TodoTask sourceTodoTask, ICallback<? super TodoTask> callback)
sourceTodoTask - the source object with updatescallback - the callback to be called after success or failureTodoTask patch(TodoTask sourceTodoTask) throws ClientException
sourceTodoTask - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(TodoTask newTodoTask, ICallback<? super TodoTask> callback)
newTodoTask - the new object to createcallback - the callback to be called after success or failureTodoTask post(TodoTask newTodoTask) throws ClientException
newTodoTask - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(TodoTask newTodoTask, ICallback<? super TodoTask> callback)
newTodoTask - the object to create/updatecallback - the callback to be called after success or failureTodoTask put(TodoTask newTodoTask) throws ClientException
newTodoTask - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonITodoTaskRequest select(java.lang.String value)
value - the select clauseITodoTaskRequest expand(java.lang.String value)
value - the expand clause