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