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