public final class SimpleHttpContentPublisher extends Object implements SdkHttpContentPublisher
SdkHttpContentPublisher
that provides all it's data at once. Useful for
non streaming operations that are already marshalled into memory.Constructor and Description |
---|
SimpleHttpContentPublisher(SdkHttpFullRequest request) |
Modifier and Type | Method and Description |
---|---|
Optional<Long> |
contentLength() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
public SimpleHttpContentPublisher(SdkHttpFullRequest request)
public Optional<Long> contentLength()
contentLength
in interface SdkHttpContentPublisher
public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe
in interface org.reactivestreams.Publisher<ByteBuffer>
Copyright © 2022. All rights reserved.