public class ApplicationRequest extends BaseRequest implements IApplicationRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ApplicationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Application
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Application> callback)
Delete this item from the service
|
IApplicationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Application |
get()
Gets the Application from the service
|
void |
get(ICallback<? super Application> callback)
Gets the Application from the service
|
Application |
patch(Application sourceApplication)
Patches this Application with a source
|
void |
patch(Application sourceApplication,
ICallback<? super Application> callback)
Patches this Application with a source
|
Application |
post(Application newApplication)
Creates a Application with a new object
|
void |
post(Application newApplication,
ICallback<? super Application> callback)
Creates a Application with a new object
|
Application |
put(Application newApplication)
Creates a Application with a new object
|
void |
put(Application newApplication,
ICallback<? super Application> callback)
Creates a Application with a new object
|
IApplicationRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic ApplicationRequest(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 get(ICallback<? super Application> callback)
get in interface IApplicationRequestcallback - the callback to be called after success or failurepublic Application get() throws ClientException
get in interface IApplicationRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super Application> callback)
delete in interface IApplicationRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IApplicationRequestClientException - if there was an exception during the delete operationpublic void patch(Application sourceApplication, ICallback<? super Application> callback)
patch in interface IApplicationRequestsourceApplication - the source object with updatescallback - the callback to be called after success or failurepublic Application patch(Application sourceApplication) throws ClientException
patch in interface IApplicationRequestsourceApplication - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(Application newApplication, ICallback<? super Application> callback)
post in interface IApplicationRequestnewApplication - the new object to createcallback - the callback to be called after success or failurepublic Application post(Application newApplication) throws ClientException
post in interface IApplicationRequestnewApplication - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(Application newApplication, ICallback<? super Application> callback)
put in interface IApplicationRequestnewApplication - the object to create/updatecallback - the callback to be called after success or failurepublic Application put(Application newApplication) throws ClientException
put in interface IApplicationRequestnewApplication - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IApplicationRequest select(java.lang.String value)
select in interface IApplicationRequestvalue - the select clausepublic IApplicationRequest expand(java.lang.String value)
expand in interface IApplicationRequestvalue - the expand clause