Class InMemoryPublisher
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.io.InMemoryPublisher
- All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>,SdkHttpContentPublisher
A content-length-aware publisher that replays buffered data. Used by
ChecksumSubscriber to replay the payload after
checksumming.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsubscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
-
Constructor Details
-
InMemoryPublisher
-
-
Method Details
-
contentLength
- Specified by:
contentLengthin interfaceSdkHttpContentPublisher- Returns:
- The content length of the data being produced.
-
subscribe
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<ByteBuffer>
-