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