public final class FileAsyncRequestBodySplitHelper extends Object
FileAsyncRequestBody
to multiple smaller async request bodies. It ensures the buffer used to
be under the configured size via AsyncRequestBodySplitConfiguration.bufferSizeInBytes()
by tracking the number of
concurrent ongoing AsyncRequestBody
s.Constructor and Description |
---|
FileAsyncRequestBodySplitHelper(FileAsyncRequestBody asyncRequestBody,
AsyncRequestBodySplitConfiguration splitConfiguration) |
Modifier and Type | Method and Description |
---|---|
SdkPublisher<AsyncRequestBody> |
split() |
public FileAsyncRequestBodySplitHelper(FileAsyncRequestBody asyncRequestBody, AsyncRequestBodySplitConfiguration splitConfiguration)
public SdkPublisher<AsyncRequestBody> split()
Copyright © 2023. All rights reserved.