public class ResponseSubscriberOutputStream
extends java.io.OutputStream
OutputStream that sends data received over the Eventbus in reasonable chunks of bytes. Mainly used to retrieve binary content like mime messages or attachments
Constructor and Description |
---|
ResponseSubscriberOutputStream(io.reactivex.ObservableEmitter<io.vertx.core.buffer.Buffer> observableEmitter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public ResponseSubscriberOutputStream(io.reactivex.ObservableEmitter<io.vertx.core.buffer.Buffer> observableEmitter)
observableEmitter
- public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
public void write(byte[] b)
write
in class java.io.OutputStream
public void write(byte[] b, int off, int len)
write
in class java.io.OutputStream
public void write(int b)
write
in class java.io.OutputStream