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