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