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