Interface PublisherTransformer

All Superinterfaces:
reactor.core.Disposable
All Known Implementing Classes:
InflightLimiter

public interface PublisherTransformer extends reactor.core.Disposable
Class to transform a Publisher to another Publisher.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface reactor.core.Disposable

    reactor.core.Disposable.Composite, reactor.core.Disposable.Swap
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a PublisherTransformer that returns the input Publisher without modification.
    <T> org.reactivestreams.Publisher<T>
    transform(org.reactivestreams.Publisher<T> publisher)
    Transforms a Publisher to another Publisher.

    Methods inherited from interface reactor.core.Disposable

    dispose, isDisposed
  • Method Details

    • identity

      static PublisherTransformer identity()
      Gets a PublisherTransformer that returns the input Publisher without modification.
      Returns:
      the input Publisher not modified
    • transform

      <T> org.reactivestreams.Publisher<T> transform(org.reactivestreams.Publisher<T> publisher)
      Transforms a Publisher to another Publisher.
      Type Parameters:
      T - the type of the publisher
      Parameters:
      publisher - the publisher to transform
      Returns:
      the transformed publisher