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