Class PublisherContent

All Implemented Interfaces:
ReactiveRequest.Content, org.reactivestreams.Processor<ContentChunk,​ContentChunk>, org.reactivestreams.Publisher<ContentChunk>, org.reactivestreams.Subscriber<ContentChunk>, org.reactivestreams.Subscription

public class PublisherContent extends AbstractSingleProcessor<ContentChunk,​ContentChunk> implements ReactiveRequest.Content
A ReactiveRequest.Content that wraps a Publisher.
  • Constructor Details

    • PublisherContent

      public PublisherContent(org.reactivestreams.Publisher<ContentChunk> publisher, String contentType)
  • Method Details