public interface IUserRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super User> callback)
Delete this item from the service
|
IUserRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
User |
get()
Gets the User from the service
|
void |
get(ICallback<? super User> callback)
Gets the User from the service
|
User |
patch(User sourceUser)
Patches this User with a source
|
void |
patch(User sourceUser,
ICallback<? super User> callback)
Patches this User with a source
|
User |
post(User newUser)
Posts a User with a new object
|
void |
post(User newUser,
ICallback<? super User> callback)
Posts a User with a new object
|
User |
put(User newUser)
Posts a User with a new object
|
void |
put(User newUser,
ICallback<? super User> callback)
Posts a User with a new object
|
IUserRequest |
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 User> callback)
callback - the callback to be called after success or failureUser get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super User> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(User sourceUser, ICallback<? super User> callback)
sourceUser - the source object with updatescallback - the callback to be called after success or failureUser patch(User sourceUser) throws ClientException
sourceUser - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(User newUser, ICallback<? super User> callback)
newUser - the new object to createcallback - the callback to be called after success or failureUser post(User newUser) throws ClientException
newUser - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(User newUser, ICallback<? super User> callback)
newUser - the object to create/updatecallback - the callback to be called after success or failureUser put(User newUser) throws ClientException
newUser - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIUserRequest select(java.lang.String value)
value - the select clauseIUserRequest expand(java.lang.String value)
value - the expand clause