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