public class ExtensionCollectionRequest extends BaseCollectionRequest<ExtensionCollectionResponse,IExtensionCollectionPage> implements IExtensionCollectionRequest
| Constructor and Description |
|---|
ExtensionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Extension
|
| Modifier and Type | Method and Description |
|---|---|
IExtensionCollectionPage |
buildFromResponse(ExtensionCollectionResponse response) |
IExtensionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IExtensionCollectionPage |
get() |
void |
get(ICallback<IExtensionCollectionPage> callback) |
Extension |
post(Extension newExtension) |
void |
post(Extension newExtension,
ICallback<Extension> callback) |
IExtensionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IExtensionCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic ExtensionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<IExtensionCollectionPage> callback)
get in interface IExtensionCollectionRequestpublic IExtensionCollectionPage get() throws ClientException
get in interface IExtensionCollectionRequestClientExceptionpublic void post(Extension newExtension, ICallback<Extension> callback)
post in interface IExtensionCollectionRequestpublic Extension post(Extension newExtension) throws ClientException
post in interface IExtensionCollectionRequestClientExceptionpublic IExtensionCollectionRequest expand(java.lang.String value)
expand in interface IExtensionCollectionRequestvalue - the expand clausepublic IExtensionCollectionRequest select(java.lang.String value)
select in interface IExtensionCollectionRequestvalue - the select clausepublic IExtensionCollectionRequest top(int value)
top in interface IExtensionCollectionRequestvalue - the max number of items to returnpublic IExtensionCollectionPage buildFromResponse(ExtensionCollectionResponse response)