Class SimpleHttpContentPublisher
java.lang.Object
software.amazon.awssdk.core.internal.http.async.SimpleHttpContentPublisher
- All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>,SdkHttpContentPublisher
Implementation of
SdkHttpContentPublisher that provides all it's data at once. Useful for
non streaming operations that are already marshalled into memory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsubscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
-
Constructor Details
-
SimpleHttpContentPublisher
-
-
Method Details
-
contentLength
- Specified by:
contentLengthin interfaceSdkHttpContentPublisher- Returns:
- The content length of the data being produced.
-
subscribe
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<ByteBuffer>
-