public interface IEventMessageRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<EventMessage> callback)
Delete this item from the service
|
IEventMessageRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EventMessage |
get()
Gets the EventMessage from the service
|
void |
get(ICallback<EventMessage> callback)
Gets the EventMessage from the service
|
EventMessage |
patch(EventMessage sourceEventMessage)
Patches this EventMessage with a source
|
void |
patch(EventMessage sourceEventMessage,
ICallback<EventMessage> callback)
Patches this EventMessage with a source
|
EventMessage |
post(EventMessage newEventMessage)
Posts a EventMessage with a new object
|
void |
post(EventMessage newEventMessage,
ICallback<EventMessage> callback)
Posts a EventMessage with a new object
|
IEventMessageRequest |
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<EventMessage> callback)
callback - the callback to be called after success or failureEventMessage get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<EventMessage> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(EventMessage sourceEventMessage, ICallback<EventMessage> callback)
sourceEventMessage - the source object with updatescallback - the callback to be called after success or failureEventMessage patch(EventMessage sourceEventMessage) throws ClientException
sourceEventMessage - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(EventMessage newEventMessage, ICallback<EventMessage> callback)
newEventMessage - the new object to createcallback - the callback to be called after success or failureEventMessage post(EventMessage newEventMessage) throws ClientException
newEventMessage - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIEventMessageRequest select(java.lang.String value)
value - the select clauseIEventMessageRequest expand(java.lang.String value)
value - the expand clause