public class SiteGetByPathRequest extends BaseRequest implements ISiteGetByPathRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
SiteGetByPathRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this SiteGetByPath
|
| Modifier and Type | Method and Description |
|---|---|
ISiteGetByPathRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Site |
get()
Gets the Site
|
void |
get(ICallback<Site> callback)
Gets the Site
|
Site |
patch(Site srcSite)
Patches the SiteGetByPath
|
void |
patch(Site srcSite,
ICallback<Site> callback)
Patches the SiteGetByPath
|
Site |
put(Site srcSite)
Puts the SiteGetByPath
|
void |
put(Site srcSite,
ICallback<Site> callback)
Puts the SiteGetByPath
|
ISiteGetByPathRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic SiteGetByPathRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void patch(Site srcSite, ICallback<Site> callback)
patch in interface ISiteGetByPathRequestsrcSite - the Site with which to PATCHcallback - the callback to be called after success or failurepublic Site patch(Site srcSite) throws ClientException
patch in interface ISiteGetByPathRequestsrcSite - the Site with which to PATCHClientException - an exception occurs if there was an error while the request was sentpublic void put(Site srcSite, ICallback<Site> callback)
put in interface ISiteGetByPathRequestsrcSite - the Site to PUTcallback - the callback to be called after success or failurepublic Site put(Site srcSite) throws ClientException
put in interface ISiteGetByPathRequestsrcSite - the Site to PUTClientException - an exception occurs if there was an error while the request was sentpublic void get(ICallback<Site> callback)
get in interface ISiteGetByPathRequestcallback - the callback to be called after success or failurepublic Site get() throws ClientException
get in interface ISiteGetByPathRequestClientException - an exception occurs if there was an error while the request was sentpublic ISiteGetByPathRequest select(java.lang.String value)
select in interface ISiteGetByPathRequestvalue - the select clausepublic ISiteGetByPathRequest expand(java.lang.String value)
expand in interface ISiteGetByPathRequestvalue - the expand clause