public class AsyncInputStreamPublisher extends InputStreamPublisher
| Constructor and Description |
|---|
AsyncInputStreamPublisher(org.mule.runtime.api.scheduler.Scheduler scheduler,
InputStream stream)
Input stream backed publisher with a default buffer size of 8MB
|
AsyncInputStreamPublisher(org.mule.runtime.api.scheduler.Scheduler scheduler,
InputStream stream,
int bufferSize)
Input stream backed publisher with a custom buffer size in bytes
|
| Modifier and Type | Method and Description |
|---|---|
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
Creates a new subscription for the subscriber.
|
readNextpublic AsyncInputStreamPublisher(org.mule.runtime.api.scheduler.Scheduler scheduler,
InputStream stream)
stream - - the original stream that will be read.public AsyncInputStreamPublisher(org.mule.runtime.api.scheduler.Scheduler scheduler,
InputStream stream,
int bufferSize)
stream - - the original stream that will be readbufferSize - - size of the intermediate buffer in bytespublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>subscribe in class InputStreamPublishers - - subscriber instanceCopyright © 2025 MuleSoft, Inc.. All rights reserved.