Class FlowAdapters.FlowPublisherFromReactive<T>

  • Type Parameters:
    T - the element type
    All Implemented Interfaces:
    java.util.concurrent.Flow.Publisher<T>
    Enclosing class:
    FlowAdapters

    static final class FlowAdapters.FlowPublisherFromReactive<T>
    extends java.lang.Object
    implements java.util.concurrent.Flow.Publisher<T>
    Flow Publisher that wraps a Reactive Streams Publisher.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void subscribe​(java.util.concurrent.Flow.Subscriber<? super T> flow)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • reactiveStreams

        final Publisher<? extends T> reactiveStreams
    • Constructor Detail

      • FlowPublisherFromReactive

        public FlowPublisherFromReactive​(Publisher<? extends T> reactivePublisher)
    • Method Detail

      • subscribe

        public void subscribe​(java.util.concurrent.Flow.Subscriber<? super T> flow)
        Specified by:
        subscribe in interface java.util.concurrent.Flow.Publisher<T>