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