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