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 Details

    • TrailingDataFramePublisher

      public TrailingDataFramePublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)
  • Method Details

    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<ByteBuffer>