public interface IContentTypeRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ContentType> callback)
Delete this item from the service
|
IContentTypeRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ContentType |
get()
Gets the ContentType from the service
|
void |
get(ICallback<ContentType> callback)
Gets the ContentType from the service
|
ContentType |
patch(ContentType sourceContentType)
Patches this ContentType with a source
|
void |
patch(ContentType sourceContentType,
ICallback<ContentType> callback)
Patches this ContentType with a source
|
ContentType |
post(ContentType newContentType)
Posts a ContentType with a new object
|
void |
post(ContentType newContentType,
ICallback<ContentType> callback)
Posts a ContentType with a new object
|
IContentTypeRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<ContentType> callback)
callback - the callback to be called after success or failureContentType get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<ContentType> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(ContentType sourceContentType, ICallback<ContentType> callback)
sourceContentType - the source object with updatescallback - the callback to be called after success or failureContentType patch(ContentType sourceContentType) throws ClientException
sourceContentType - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(ContentType newContentType, ICallback<ContentType> callback)
newContentType - the new object to createcallback - the callback to be called after success or failureContentType post(ContentType newContentType) throws ClientException
newContentType - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIContentTypeRequest select(java.lang.String value)
value - the select clauseIContentTypeRequest expand(java.lang.String value)
value - the expand clause