public abstract class RxJava2Adapter
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static Mono<java.lang.Void> | 
completableToMono(io.reactivex.Completable source)
Wraps a RxJava Completable into a Mono instance. 
 | 
static <T> Flux<T> | 
flowableToFlux(io.reactivex.Flowable<T> source)
Wraps a Flowable instance into a Flux instance, composing the micro-fusion
 properties of the Flowable through. 
 | 
static <T> io.reactivex.Flowable<T> | 
fluxToFlowable(Flux<T> source)
Wraps a Flux instance into a Flowable instance, composing the micro-fusion
 properties of the Flux through. 
 | 
static <T> io.reactivex.Observable<T> | 
fluxToObservable(Flux<T> source)
Wraps a Flux instance into a RxJava Observable. 
 | 
static io.reactivex.Completable | 
monoToCompletable(Mono<?> source)
Wraps a void-Mono instance into a RxJava Completable. 
 | 
static <T> io.reactivex.Flowable<T> | 
monoToFlowable(Mono<T> source)
Wraps a Mono instance into a Flowable instance, composing the micro-fusion
 properties of the Flux through. 
 | 
static <T> io.reactivex.Single<T> | 
monoToSingle(Mono<T> source)
Wraps a Mono instance into a RxJava Single. 
 | 
static <T> Flux<T> | 
observableToFlux(io.reactivex.Observable<T> source,
                io.reactivex.BackpressureStrategy strategy)
Wraps an RxJava Observable and applies the given backpressure trategy. 
 | 
static <T> Mono<T> | 
singleToMono(io.reactivex.Single<T> source)
Wraps a RxJava Single into a Mono instance. 
 | 
public static <T> Flux<T> flowableToFlux(io.reactivex.Flowable<T> source)
T - the value typesource - the source flowablepublic static <T> io.reactivex.Flowable<T> fluxToFlowable(Flux<T> source)
T - the value typesource - the source fluxpublic static <T> io.reactivex.Flowable<T> monoToFlowable(Mono<T> source)
T - the value typesource - the source fluxpublic static io.reactivex.Completable monoToCompletable(Mono<?> source)
source - the source Mono instancepublic static Mono<java.lang.Void> completableToMono(io.reactivex.Completable source)
source - the source Completablepublic static <T> io.reactivex.Single<T> monoToSingle(Mono<T> source)
If the Mono is empty, the single will signal a
 NoSuchElementException.
T - the value typesource - the source Mono instancepublic static <T> Mono<T> singleToMono(io.reactivex.Single<T> source)
T - the value typesource - the source Singlepublic static <T> Flux<T> observableToFlux(io.reactivex.Observable<T> source, io.reactivex.BackpressureStrategy strategy)
T - the value typesource - the source Observablestrategy - the backpressure strategy (BUFFER, DROP, LATEST)public static <T> io.reactivex.Observable<T> fluxToObservable(Flux<T> source)
T - the value typesource - the source Flux