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