Class MaybeConverter<T>
- java.lang.Object
-
- io.smallrye.faulttolerance.rxjava3.impl.MaybeConverter<T>
-
- All Implemented Interfaces:
AsyncTypeConverter<T,io.reactivex.rxjava3.core.Maybe<T>>
public class MaybeConverter<T> extends Object implements AsyncTypeConverter<T,io.reactivex.rxjava3.core.Maybe<T>>
-
-
Constructor Summary
Constructors Constructor Description MaybeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.rxjava3.core.Maybe<T>fromCompletionStage(Supplier<CompletionStage<T>> completionStageSupplier)CompletionStage<T>toCompletionStage(io.reactivex.rxjava3.core.Maybe<T> maybe)Class<?>type()
-
-
-
Method Detail
-
type
public Class<?> type()
- Specified by:
typein interfaceAsyncTypeConverter<T,io.reactivex.rxjava3.core.Maybe<T>>
-
fromCompletionStage
public io.reactivex.rxjava3.core.Maybe<T> fromCompletionStage(Supplier<CompletionStage<T>> completionStageSupplier)
- Specified by:
fromCompletionStagein interfaceAsyncTypeConverter<T,io.reactivex.rxjava3.core.Maybe<T>>
-
toCompletionStage
public CompletionStage<T> toCompletionStage(io.reactivex.rxjava3.core.Maybe<T> maybe)
- Specified by:
toCompletionStagein interfaceAsyncTypeConverter<T,io.reactivex.rxjava3.core.Maybe<T>>
-
-