Package io.helidon.microprofile.reactive
Class HelidonReactivePublisherFactory
java.lang.Object
io.helidon.microprofile.reactive.HelidonReactivePublisherFactory
- All Implemented Interfaces:
ReactiveStreamsFactory
Singleton factory for creating various builders out of sources.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HelidonReactivePublisherFactory
The singleton instance. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> ProcessorBuilder<T,
T> builder()
<T> PublisherBuilder<T>
concat
(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) <T,
R> ProcessorBuilder<T, R> coupled
(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) <T,
R> ProcessorBuilder<T, R> coupled
(Subscriber<? super T> subscriber, Publisher<? extends R> publisher) <T> PublisherBuilder<T>
empty()
<T> PublisherBuilder<T>
<T> PublisherBuilder<T>
fromCompletionStage
(CompletionStage<? extends T> completionStage) <T> PublisherBuilder<T>
fromCompletionStageNullable
(CompletionStage<? extends T> completionStage) <T> PublisherBuilder<T>
fromIterable
(Iterable<? extends T> ts) <T,
R> ProcessorBuilder<T, R> fromProcessor
(Processor<? super T, ? extends R> processor) <T> PublisherBuilder<T>
fromPublisher
(Publisher<? extends T> publisher) <T> SubscriberBuilder<T,
Void> fromSubscriber
(Subscriber<? super T> subscriber) <T> PublisherBuilder<T>
<T> PublisherBuilder<T>
iterate
(T seed, UnaryOperator<T> f) <T> PublisherBuilder<T>
of
(T t) final <T> PublisherBuilder<T>
of
(T... ts) <T> PublisherBuilder<T>
ofNullable
(T t)
-
Field Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
HelidonReactivePublisherFactory
public HelidonReactivePublisherFactory()
-
-
Method Details
-
fromPublisher
- Specified by:
fromPublisher
in interfaceReactiveStreamsFactory
-
of
- Specified by:
of
in interfaceReactiveStreamsFactory
-
of
- Specified by:
of
in interfaceReactiveStreamsFactory
-
empty
- Specified by:
empty
in interfaceReactiveStreamsFactory
-
ofNullable
- Specified by:
ofNullable
in interfaceReactiveStreamsFactory
-
fromIterable
- Specified by:
fromIterable
in interfaceReactiveStreamsFactory
-
failed
- Specified by:
failed
in interfaceReactiveStreamsFactory
-
builder
- Specified by:
builder
in interfaceReactiveStreamsFactory
-
fromProcessor
- Specified by:
fromProcessor
in interfaceReactiveStreamsFactory
-
fromSubscriber
- Specified by:
fromSubscriber
in interfaceReactiveStreamsFactory
-
iterate
- Specified by:
iterate
in interfaceReactiveStreamsFactory
-
generate
- Specified by:
generate
in interfaceReactiveStreamsFactory
-
concat
public <T> PublisherBuilder<T> concat(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) - Specified by:
concat
in interfaceReactiveStreamsFactory
-
fromCompletionStage
- Specified by:
fromCompletionStage
in interfaceReactiveStreamsFactory
-
fromCompletionStageNullable
public <T> PublisherBuilder<T> fromCompletionStageNullable(CompletionStage<? extends T> completionStage) - Specified by:
fromCompletionStageNullable
in interfaceReactiveStreamsFactory
-
coupled
public <T,R> ProcessorBuilder<T,R> coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) - Specified by:
coupled
in interfaceReactiveStreamsFactory
-
coupled
public <T,R> ProcessorBuilder<T,R> coupled(Subscriber<? super T> subscriber, Publisher<? extends R> publisher) - Specified by:
coupled
in interfaceReactiveStreamsFactory
-