public class FlowableHelper extends Object
| Constructor and Description |
|---|
FlowableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> io.reactivex.rxjava3.core.Flowable<T> |
toFlowable(io.vertx.core.streams.ReadStream<T> stream)
Adapts a Vert.x
ReadStream to an RxJava Flowable. |
static <T,U> io.reactivex.rxjava3.core.Flowable<U> |
toFlowable(io.vertx.core.streams.ReadStream<T> stream,
Function<T,U> mapping)
Like
toFlowable(ReadStream) but with a mapping function |
static <T> io.reactivex.rxjava3.core.Flowable<T> |
toFlowable(io.vertx.core.streams.ReadStream<T> stream,
long maxBufferSize)
Adapts a Vert.x
ReadStream to an RxJava Flowable. |
static <T> io.vertx.core.streams.ReadStream<T> |
toReadStream(io.reactivex.rxjava3.core.Flowable<T> observable)
Adapts an RxJava
Flowable to a Vert.x io.vertx.core.streams.ReadStream. |
static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> |
unmarshaller(Class<T> mappedType) |
static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> |
unmarshaller(Class<T> mappedType,
com.fasterxml.jackson.core.ObjectCodec mapper) |
static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> |
unmarshaller(com.fasterxml.jackson.core.type.TypeReference<T> mappedTypeRef) |
static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> |
unmarshaller(com.fasterxml.jackson.core.type.TypeReference<T> mappedTypeRef,
com.fasterxml.jackson.core.ObjectCodec mapper) |
public static <T> io.vertx.core.streams.ReadStream<T> toReadStream(io.reactivex.rxjava3.core.Flowable<T> observable)
Flowable to a Vert.x io.vertx.core.streams.ReadStream. The returned
readstream will be subscribed to the Flowable.observable - the observable to adaptpublic static <T,U> io.reactivex.rxjava3.core.Flowable<U> toFlowable(io.vertx.core.streams.ReadStream<T> stream,
Function<T,U> mapping)
toFlowable(ReadStream) but with a mapping functionpublic static <T> io.reactivex.rxjava3.core.Flowable<T> toFlowable(io.vertx.core.streams.ReadStream<T> stream)
ReadStream to an RxJava Flowable. After
the stream is adapted to a flowable, the original stream handlers should not be used anymore
as they will be used by the flowable adapter.stream - the stream to adaptpublic static <T> io.reactivex.rxjava3.core.Flowable<T> toFlowable(io.vertx.core.streams.ReadStream<T> stream,
long maxBufferSize)
ReadStream to an RxJava Flowable. After
the stream is adapted to a flowable, the original stream handlers should not be used anymore
as they will be used by the flowable adapter.stream - the stream to adaptpublic static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> unmarshaller(Class<T> mappedType)
public static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> unmarshaller(com.fasterxml.jackson.core.type.TypeReference<T> mappedTypeRef)
public static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> unmarshaller(Class<T> mappedType, com.fasterxml.jackson.core.ObjectCodec mapper)
public static <T> io.reactivex.rxjava3.core.FlowableTransformer<io.vertx.core.buffer.Buffer,T> unmarshaller(com.fasterxml.jackson.core.type.TypeReference<T> mappedTypeRef,
com.fasterxml.jackson.core.ObjectCodec mapper)
Copyright © 2024 Eclipse. All rights reserved.