Package com.microsoft.graph.http
Class BaseFunctionCollectionRequest<T,T2 extends ICollectionResponse<T>,T3 extends BaseCollectionPage<T,? extends BaseRequestBuilder<T>>>
java.lang.Object
com.microsoft.graph.http.BaseCollectionRequest<T,T2,T3>
com.microsoft.graph.http.BaseFunctionCollectionRequest<T,T2,T3>
- Type Parameters:
T- the type of the object in the collectionT2- the response collection typeT3- the collection page type
- All Implemented Interfaces:
IHttpRequest
- Direct Known Subclasses:
BaseDeltaCollectionRequest
public abstract class BaseFunctionCollectionRequest<T,T2 extends ICollectionResponse<T>,T3 extends BaseCollectionPage<T,? extends BaseRequestBuilder<T>>>
extends BaseCollectionRequest<T,T2,T3>
A request against a collection bound function
-
Field Summary
Fields inherited from class com.microsoft.graph.http.BaseCollectionRequest
responseCollectionClass -
Constructor Summary
ConstructorsConstructorDescriptionBaseFunctionCollectionRequest(String requestUrl, IBaseClient<?> client, List<? extends Option> options, Class<T2> responseCollectionClass, Class<T3> collectionPageClass, Class<? extends BaseCollectionRequestBuilder<T,? extends BaseRequestBuilder<T>,T2,T3,? extends BaseCollectionRequest<T,T2,T3>>> collectionRequestBuilderClass)Create the collection request -
Method Summary
Methods inherited from class com.microsoft.graph.http.BaseCollectionRequest
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, buildFromResponse, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.http.IHttpRequest
getHttpRequest
-
Constructor Details
-
BaseFunctionCollectionRequest
public BaseFunctionCollectionRequest(@Nonnull String requestUrl, @Nonnull IBaseClient<?> client, @Nullable List<? extends Option> options, @Nonnull Class<T2> responseCollectionClass, @Nonnull Class<T3> collectionPageClass, @Nonnull Class<? extends BaseCollectionRequestBuilder<T,? extends BaseRequestBuilder<T>,T2,T3,? extends BaseCollectionRequest<T,T2,T3>>> collectionRequestBuilderClass)Create the collection request- Parameters:
requestUrl- the URL to make the request againstclient- the client which can issue the requestoptions- the options for this requestresponseCollectionClass- the class for the response collectioncollectionPageClass- the class for the collection pagecollectionRequestBuilderClass- the class for the collection request builder
-
-
Method Details
-
getAsync
Gets the collection of items- Returns:
- a future with the result
-
get
Gets the collection of items- Returns:
- the collection page
- Throws:
ClientException
-