public class SplittingPublisher extends Object implements SdkPublisher<AsyncRequestBody>
AsyncRequestBody to multiple smaller AsyncRequestBodys, each of which publishes a specific portion of
the original data.
If content length is known, each AsyncRequestBody is sent to the subscriber right after it's initialized.
Otherwise, it is sent after the entire content for that chunk is buffered. This is required to get content length.
| Modifier and Type | Class and Description |
|---|---|
static class |
SplittingPublisher.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SplittingPublisher.Builder |
builder() |
void |
subscribe(org.reactivestreams.Subscriber<? super AsyncRequestBody> downstreamSubscriber) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapt, buffer, doAfterOnCancel, doAfterOnComplete, doAfterOnError, filter, filter, flatMapIterable, limit, map, subscribepublic static SplittingPublisher.Builder builder()
public void subscribe(org.reactivestreams.Subscriber<? super AsyncRequestBody> downstreamSubscriber)
subscribe in interface org.reactivestreams.Publisher<AsyncRequestBody>Copyright © 2023. All rights reserved.