PrimitiveRequest<T> Class
- java.
lang. Object - com.
microsoft. graph. http. BaseRequest<T> - com.
microsoft. graph. http. PrimitiveRequest<T>
- com.
- com.
Type Parameters
- T
the primitive type to deserialize the response to
public class PrimitiveRequest<T>
extends BaseRequest<T>
The class for the Primitive Request.
Constructor Summary
| Constructor | Description |
|---|---|
| PrimitiveRequest(String requestUrl, IBaseClient<?> client, List<? extends Option> requestOptions, Class<T> primitiveTypeClass) |
The request for the primitive type |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| T |
get()
Gets the primitive information from the service |
| java.util.concurrent.CompletableFuture<T> |
getAsync()
Gets the primitive information from the service |
Methods inherited from BaseRequest
Methods inherited from java.lang.Object
Constructor Details
PrimitiveRequest
public PrimitiveRequest(String requestUrl, IBaseClient client, List requestOptions, Class
The request for the primitive type
Parameters:
Method Details
get
public T get()
Gets the primitive information from the service
Returns:
Throws:
getAsync
public CompletableFuture
Gets the primitive information from the service
Returns: