Represents a stream of data that can be written to.
Any class that implements this interface can be used by a Pump to pump data from a ReadStream
to it.
Type | Name and description |
---|---|
WriteStream<T> |
drainHandler(io.vertx.core.Handler<java.lang.Void> handler) |
void |
end() |
void |
end(T t) |
WriteStream<T> |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
java.lang.Object |
getDelegate() |
WriteStream<T> |
setWriteQueueMaxSize(int maxSize) |
WriteStream<T> |
write(T data) |
boolean |
writeQueueFull() |
Methods inherited from class | Name |
---|---|
interface StreamBase |
exceptionHandler, getDelegate |