LargeFileUploadTask<UploadType> Class
- java.
lang. Object - com.
microsoft. graph. tasks. LargeFileUploadTask<UploadType>
- com.
Type Parameters
- UploadType
the upload item type
public class LargeFileUploadTask<UploadType>
ChunkedUpload service provider
Constructor Summary
| Constructor | Description |
|---|---|
| LargeFileUploadTask(IUploadSession uploadSession, IBaseClient<?> client, InputStream inputStream, long streamSize, Class<UploadType> uploadTypeClass) |
Creates the Chunked |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Large |
upload()
Uploads content to remote upload session based on the input stream |
|
Large |
upload(int chunkSize)
Uploads content to remote upload session based on the input stream |
|
Large |
upload(int chunkSize, List<Option> options)
Uploads content to remote upload session based on the input stream |
|
Large |
upload(int chunkSize, List<Option> options, IProgressCallback progressCallback)
Uploads content to remote upload session based on the input stream |
|
java.util.concurrent.CompletableFuture<Large |
uploadAsync()
Uploads content to remote upload session based on the input stream |
|
java.util.concurrent.CompletableFuture<Large |
uploadAsync(int chunkSize)
Uploads content to remote upload session based on the input stream |
|
java.util.concurrent.CompletableFuture<Large |
uploadAsync(int chunkSize, List<Option> options)
Uploads content to remote upload session based on the input stream |
|
java.util.concurrent.CompletableFuture<Large |
uploadAsync(int chunkSize, List<Option> options, IProgressCallback progressCallback)
Uploads content to remote upload session based on the input stream |
Methods inherited from java.lang.Object
Constructor Details
LargeFileUploadTask
public LargeFileUploadTask(IUploadSession uploadSession, IBaseClient client, InputStream inputStream, long streamSize, Class
Creates the ChunkedUploadProvider
Parameters:
Method Details
upload
public LargeFileUploadResult
Uploads content to remote upload session based on the input stream
Returns:
Throws:
upload
public LargeFileUploadResult
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws:
upload
public LargeFileUploadResult
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws:
upload
public LargeFileUploadResult
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws:
uploadAsync
public CompletableFuture
Uploads content to remote upload session based on the input stream
Returns:
Throws:
uploadAsync
public CompletableFuture
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws:
uploadAsync
public CompletableFuture
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws:
uploadAsync
public CompletableFuture
Uploads content to remote upload session based on the input stream
Parameters:
Returns:
Throws: