Class MonoConverter
- java.lang.Object
-
- io.smallrye.reactive.converters.reactor.MonoConverter
-
- All Implemented Interfaces:
ReactiveTypeConverter<reactor.core.publisher.Mono>
public class MonoConverter extends Object implements ReactiveTypeConverter<reactor.core.publisher.Mono>
-
-
Constructor Summary
Constructors Constructor Description MonoConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanemitAtMostOneItem()booleanemitItems()<X> reactor.core.publisher.MonofromCompletionStage(CompletionStage<X> cs)<X> reactor.core.publisher.MonofromFlowPublisher(Flow.Publisher<X> publisher)<X> reactor.core.publisher.MonofromPublisher(org.reactivestreams.Publisher<X> publisher)booleansupportNullValue()<X> CompletionStage<X>toCompletionStage(reactor.core.publisher.Mono instance)<X> Flow.Publisher<X>toFlowPublisher(reactor.core.publisher.Mono instance)<X> org.reactivestreams.Publisher<X>toRSPublisher(reactor.core.publisher.Mono instance)Class<reactor.core.publisher.Mono>type()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.reactive.converters.ReactiveTypeConverter
requireAtLeastOneItem
-
-
-
-
Method Detail
-
toCompletionStage
public <X> CompletionStage<X> toCompletionStage(reactor.core.publisher.Mono instance)
- Specified by:
toCompletionStagein interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
toRSPublisher
public <X> org.reactivestreams.Publisher<X> toRSPublisher(reactor.core.publisher.Mono instance)
- Specified by:
toRSPublisherin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
toFlowPublisher
public <X> Flow.Publisher<X> toFlowPublisher(reactor.core.publisher.Mono instance)
- Specified by:
toFlowPublisherin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
fromCompletionStage
public <X> reactor.core.publisher.Mono fromCompletionStage(CompletionStage<X> cs)
- Specified by:
fromCompletionStagein interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
fromPublisher
public <X> reactor.core.publisher.Mono fromPublisher(org.reactivestreams.Publisher<X> publisher)
- Specified by:
fromPublisherin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
fromFlowPublisher
public <X> reactor.core.publisher.Mono fromFlowPublisher(Flow.Publisher<X> publisher)
- Specified by:
fromFlowPublisherin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
type
public Class<reactor.core.publisher.Mono> type()
- Specified by:
typein interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
emitItems
public boolean emitItems()
- Specified by:
emitItemsin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
emitAtMostOneItem
public boolean emitAtMostOneItem()
- Specified by:
emitAtMostOneItemin interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
supportNullValue
public boolean supportNullValue()
- Specified by:
supportNullValuein interfaceReactiveTypeConverter<reactor.core.publisher.Mono>
-
-