Uses of Interface
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder
Packages that use PublisherBuilder
Package
Description
MicroProfile Reactive Streams Operators.
-
Uses of PublisherBuilder in org.eclipse.microprofile.reactive.streams.operators
Methods in org.eclipse.microprofile.reactive.streams.operators that return PublisherBuilderModifier and TypeMethodDescriptionstatic <T> PublisherBuilder<T>ReactiveStreams.concat(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) Concatenates two publishers.<T> PublisherBuilder<T>ReactiveStreamsFactory.concat(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) Concatenates two publishers.PublisherBuilder.distinct()Creates a stream consisting of the distinct elements (according toObject.equals(Object)) of this stream.Drop the longest prefix of elements from this stream that satisfy the givenpredicate.static <T> PublisherBuilder<T>ReactiveStreams.empty()Create an emptyPublisherBuilder.<T> PublisherBuilder<T>ReactiveStreamsFactory.empty()Create an emptyPublisherBuilder.static <T> PublisherBuilder<T>Create a failedPublisherBuilder.<T> PublisherBuilder<T>Create a failedPublisherBuilder.Filter elements emitted by this publisher using the givenPredicate.<S> PublisherBuilder<S>PublisherBuilder.flatMap(Function<? super T, ? extends PublisherBuilder<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.<S> PublisherBuilder<S>PublisherBuilder.flatMapCompletionStage(Function<? super T, ? extends CompletionStage<? extends S>> mapper) Map the elements toCompletionStage, and flatten so that the elements the values redeemed by eachCompletionStageare emitted from this stream.<S> PublisherBuilder<S>PublisherBuilder.flatMapIterable(Function<? super T, ? extends Iterable<? extends S>> mapper) Map the elements toIterable's, and flatten so that the elements contained in each iterable are emitted by this stream.<S> PublisherBuilder<S>PublisherBuilder.flatMapRsPublisher(Function<? super T, ? extends org.reactivestreams.Publisher<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.static <T> PublisherBuilder<T>ReactiveStreams.fromCompletionStage(CompletionStage<? extends T> completionStage) Creates a publisher from aCompletionStage.<T> PublisherBuilder<T>ReactiveStreamsFactory.fromCompletionStage(CompletionStage<? extends T> completionStage) Creates a publisher from aCompletionStage.static <T> PublisherBuilder<T>ReactiveStreams.fromCompletionStageNullable(CompletionStage<? extends T> completionStage) Creates a publisher from aCompletionStage.<T> PublisherBuilder<T>ReactiveStreamsFactory.fromCompletionStageNullable(CompletionStage<? extends T> completionStage) Creates a publisher from aCompletionStage.static <T> PublisherBuilder<T>ReactiveStreams.fromIterable(Iterable<? extends T> ts) Create aPublisherBuilderthat will emits the elements produced by the passed inIterable.<T> PublisherBuilder<T>ReactiveStreamsFactory.fromIterable(Iterable<? extends T> ts) Create aPublisherBuilderthat will emits the elements produced by the passed inIterable.static <T> PublisherBuilder<T>ReactiveStreams.fromPublisher(org.reactivestreams.Publisher<? extends T> publisher) Create aPublisherBuilderfrom the givenPublisher.<T> PublisherBuilder<T>ReactiveStreamsFactory.fromPublisher(org.reactivestreams.Publisher<? extends T> publisher) Create aPublisherBuilderfrom the givenPublisher.static <T> PublisherBuilder<T>Creates an infinite stream that emits elements supplied by the suppliers.<T> PublisherBuilder<T>Creates an infinite stream that emits elements supplied by the suppliers.static <T> PublisherBuilder<T>ReactiveStreams.iterate(T seed, UnaryOperator<T> f) Creates an infinite stream produced by the iterative application of the functionfto an initial elementseedconsisting ofseed,f(seed),f(f(seed)), etc.<T> PublisherBuilder<T>ReactiveStreamsFactory.iterate(T seed, UnaryOperator<T> f) Creates an infinite stream produced by the iterative application of the functionfto an initial elementseedconsisting ofseed,f(seed),f(f(seed)), etc.PublisherBuilder.limit(long maxSize) Truncate this stream, ensuring the stream is no longer thanmaxSizeelements in length.<R> PublisherBuilder<R>Map the elements emitted by this stream using themapperfunction.static <T> PublisherBuilder<T>ReactiveStreams.of(T t) Create aPublisherBuilderthat emits a single element.static <T> PublisherBuilder<T>ReactiveStreams.of(T... ts) Create aPublisherBuilderthat emits the given elements.<T> PublisherBuilder<T>ReactiveStreamsFactory.of(T t) Create aPublisherBuilderthat emits a single element.<T> PublisherBuilder<T>ReactiveStreamsFactory.of(T... ts) Create aPublisherBuilderthat emits the given elements.static <T> PublisherBuilder<T>ReactiveStreams.ofNullable(T t) Create aPublisherBuilderthat will emit a single element iftis not null, otherwise will be empty.<T> PublisherBuilder<T>ReactiveStreamsFactory.ofNullable(T t) Create aPublisherBuilderthat will emit a single element iftis not null, otherwise will be empty.PublisherBuilder.onComplete(Runnable action) Returns a stream containing all the elements from this stream, additionally performing the provided action when this stream completes.Returns a stream containing all the elements from this stream, additionally performing the provided action if this stream conveys an error.PublisherBuilder.onErrorResume(Function<Throwable, ? extends T> errorHandler) Returns a stream containing all the elements from this stream.PublisherBuilder.onErrorResumeWith(Function<Throwable, ? extends PublisherBuilder<? extends T>> errorHandler) Returns a stream containing all the elements from this stream.PublisherBuilder.onErrorResumeWithRsPublisher(Function<Throwable, ? extends org.reactivestreams.Publisher<? extends T>> errorHandler) Returns a stream containing all the elements from this stream.PublisherBuilder.onTerminate(Runnable action) Returns a stream containing all the elements from this stream, additionally performing the provided action when this stream completes or failed.Returns a stream containing all the elements from this stream, additionally performing the provided action on each element.PublisherBuilder.skip(long n) Discard the firstnof this stream.Take the longest prefix of elements from this stream that satisfy the givenpredicate.<R> PublisherBuilder<R>PublisherBuilder.via(ProcessorBuilder<? super T, ? extends R> processor) Connect the outlet of thePublisherbuilt by this builder to the givenProcessorBuilder.<R> PublisherBuilder<R>Connect the outlet of this stream to the givenProcessor.Methods in org.eclipse.microprofile.reactive.streams.operators with parameters of type PublisherBuilderModifier and TypeMethodDescriptionstatic <T> PublisherBuilder<T>ReactiveStreams.concat(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) Concatenates two publishers.<T> PublisherBuilder<T>ReactiveStreamsFactory.concat(PublisherBuilder<? extends T> a, PublisherBuilder<? extends T> b) Concatenates two publishers.static <T,R> ProcessorBuilder<T, R> ReactiveStreams.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) <T,R> ProcessorBuilder<T, R> ReactiveStreamsFactory.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) Method parameters in org.eclipse.microprofile.reactive.streams.operators with type arguments of type PublisherBuilderModifier and TypeMethodDescription<S> ProcessorBuilder<T,S> ProcessorBuilder.flatMap(Function<? super R, ? extends PublisherBuilder<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.<S> PublisherBuilder<S>PublisherBuilder.flatMap(Function<? super T, ? extends PublisherBuilder<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.<S> TransformingOperators<S>TransformingOperators.flatMap(Function<? super T, ? extends PublisherBuilder<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.ErrorHandlingOperators.onErrorResumeWith(Function<Throwable, ? extends PublisherBuilder<? extends T>> errorHandler) Returns a stream containing all the elements from this stream.ProcessorBuilder.onErrorResumeWith(Function<Throwable, ? extends PublisherBuilder<? extends R>> errorHandler) Returns a stream containing all the elements from this stream.PublisherBuilder.onErrorResumeWith(Function<Throwable, ? extends PublisherBuilder<? extends T>> errorHandler) Returns a stream containing all the elements from this stream.