public class UserReferenceRequest extends BaseRequest implements IUserReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
UserReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the User
|
| Modifier and Type | Method and Description |
|---|---|
User |
delete() |
void |
delete(ICallback<User> callback) |
IUserReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
User |
put(User srcUser)
Puts the User
|
void |
put(User srcUser,
ICallback<User> callback)
Puts the User
|
IUserReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic UserReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void delete(ICallback<User> callback)
delete in interface IUserReferenceRequestpublic User delete() throws ClientException
delete in interface IUserReferenceRequestClientExceptionpublic IUserReferenceRequest select(java.lang.String value)
select in interface IUserReferenceRequestvalue - the select clausepublic IUserReferenceRequest expand(java.lang.String value)
expand in interface IUserReferenceRequestvalue - the expand clausepublic void put(User srcUser, ICallback<User> callback)
put in interface IUserReferenceRequestsrcUser - the User reference to PUTcallback - the callback to be called after success or failurepublic User put(User srcUser) throws ClientException
put in interface IUserReferenceRequestsrcUser - the User reference to PUTClientException - an exception occurs if there was an error while the request was sent