Class TrailingDataFramePublisher
java.lang.Object
software.amazon.awssdk.http.auth.aws.eventstream.internal.io.TrailingDataFramePublisher
- All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>
public final class TrailingDataFramePublisher
extends Object
implements org.reactivestreams.Publisher<ByteBuffer>
A publisher which wraps a publisher and appends a trailing frame once the wrapped publisher is finished.
-
Constructor Summary
ConstructorDescriptionTrailingDataFramePublisher
(org.reactivestreams.Publisher<ByteBuffer> publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
subscribe
(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
-
Constructor Details
-
TrailingDataFramePublisher
-
-
Method Details
-
subscribe
- Specified by:
subscribe
in interfaceorg.reactivestreams.Publisher<ByteBuffer>
-