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