public final class SimpleHttpContentPublisher extends Object implements software.amazon.awssdk.http.async.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(software.amazon.awssdk.http.SdkHttpFullRequest request) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Long> |
contentLength() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
public SimpleHttpContentPublisher(software.amazon.awssdk.http.SdkHttpFullRequest request)
public Optional<Long> contentLength()
contentLength in interface software.amazon.awssdk.http.async.SdkHttpContentPublisherpublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2022. All rights reserved.