Package io.smallrye.mutiny.vertx
Class ReadStreamSubscriber<R,J> 
java.lang.Object
io.smallrye.mutiny.vertx.ReadStreamSubscriber<R,J> 
- All Implemented Interfaces:
 io.vertx.core.streams.ReadStream<J>,io.vertx.core.streams.StreamBase,Flow.Subscriber<R>
public class ReadStreamSubscriber<R,J> 
extends Object
implements Flow.Subscriber<R>, io.vertx.core.streams.ReadStream<J>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <R,J> io.vertx.core.streams.ReadStream<J> asReadStream(Flow.Publisher<R> multi, Function<R, J> adapter) io.vertx.core.streams.ReadStream<J>endHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.streams.ReadStream<J>exceptionHandler(io.vertx.core.Handler<Throwable> handler) io.vertx.core.streams.ReadStream<J>fetch(long amount) io.vertx.core.streams.ReadStream<J>voidvoidvoidvoidio.vertx.core.streams.ReadStream<J>pause()io.vertx.core.streams.ReadStream<J>resume()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.streams.ReadStream
collect, pipe, pipeTo, pipeTo 
- 
Field Details
- 
BUFFER_SIZE
public static final int BUFFER_SIZE- See Also:
 
 
 - 
 - 
Constructor Details
- 
ReadStreamSubscriber
 
 - 
 - 
Method Details
- 
asReadStream
public static <R,J> io.vertx.core.streams.ReadStream<J> asReadStream(Flow.Publisher<R> multi, Function<R, J> adapter)  - 
handler
- Specified by:
 handlerin interfaceio.vertx.core.streams.ReadStream<R>
 - 
pause
- Specified by:
 pausein interfaceio.vertx.core.streams.ReadStream<R>
 - 
fetch
- Specified by:
 fetchin interfaceio.vertx.core.streams.ReadStream<R>
 - 
resume
- Specified by:
 resumein interfaceio.vertx.core.streams.ReadStream<R>
 - 
onSubscribe
- Specified by:
 onSubscribein interfaceFlow.Subscriber<R>
 - 
endHandler
- Specified by:
 endHandlerin interfaceio.vertx.core.streams.ReadStream<R>
 - 
exceptionHandler
public io.vertx.core.streams.ReadStream<J> exceptionHandler(io.vertx.core.Handler<Throwable> handler) - Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.ReadStream<R>- Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.StreamBase
 - 
onComplete
public void onComplete()- Specified by:
 onCompletein interfaceFlow.Subscriber<R>
 - 
onError
- Specified by:
 onErrorin interfaceFlow.Subscriber<R>
 - 
onNext
- Specified by:
 onNextin interfaceFlow.Subscriber<R>
 
 -