public interface IPersonRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<Person> callback)
Delete this item from the service
|
IPersonRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Person |
get()
Gets the Person from the service
|
void |
get(ICallback<Person> callback)
Gets the Person from the service
|
Person |
patch(Person sourcePerson)
Patches this Person with a source
|
void |
patch(Person sourcePerson,
ICallback<Person> callback)
Patches this Person with a source
|
Person |
post(Person newPerson)
Posts a Person with a new object
|
void |
post(Person newPerson,
ICallback<Person> callback)
Posts a Person with a new object
|
IPersonRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<Person> callback)
callback - the callback to be called after success or failurePerson get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<Person> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Person sourcePerson, ICallback<Person> callback)
sourcePerson - the source object with updatescallback - the callback to be called after success or failurePerson patch(Person sourcePerson) throws ClientException
sourcePerson - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Person newPerson, ICallback<Person> callback)
newPerson - the new object to createcallback - the callback to be called after success or failurePerson post(Person newPerson) throws ClientException
newPerson - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIPersonRequest select(java.lang.String value)
value - the select clauseIPersonRequest expand(java.lang.String value)
value - the expand clause