Class ReactiveStreamsPublisherAdapter

java.lang.Object
org.apache.juneau.rest.server.reactive.reactor.ReactiveStreamsPublisherAdapter
All Implemented Interfaces:
ReactiveStreamsAdapter

Catch-all ReactiveStreamsAdapter for any Reactive-Streams org.reactivestreams.Publisher<T> that is not already handled by a more specific adapter.

Converts to a JDK Flow.Publisher via FlowAdapters.toFlowPublisher(Publisher) and renders it as a stream. Registered last so library-specific single-value types (Reactor Mono, which also implements Publisher) are matched by their own adapter first.

Since:
10.0.0