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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
subscribe
(org.reactivestreams.Subscriber<? super ByteBuffer> s)
-
Constructor Details
-
SimpleHttpContentPublisher
-
-
Method Details
-
contentLength
- Specified by:
contentLength
in interfaceSdkHttpContentPublisher
- Returns:
- The content length of the data being produced.
-
subscribe
- Specified by:
subscribe
in interfaceorg.reactivestreams.Publisher<ByteBuffer>
-