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