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