Package io.micronaut.reactor.convert
Class ReactorToRxJava2ConverterRegistrar
java.lang.Object
io.micronaut.reactor.convert.ReactorToRxJava2ConverterRegistrar
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverterRegistrar
@Singleton
@Internal
@Requires(classes={io.reactivex.Maybe.class,io.reactivex.Flowable.class})
public class ReactorToRxJava2ConverterRegistrar
extends Object
implements io.micronaut.core.convert.TypeConverterRegistrar
Registers converters from Reactor Types to Rx Java 2 types.
For example from Mono to Maybe.
- Since:
- 2.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(io.micronaut.core.convert.MutableConversionService conversionService)
-
Constructor Details
-
ReactorToRxJava2ConverterRegistrar
public ReactorToRxJava2ConverterRegistrar()
-
-
Method Details
-
register
public void register(io.micronaut.core.convert.MutableConversionService conversionService) - Specified by:
register
in interfaceio.micronaut.core.convert.TypeConverterRegistrar
-