public interface StreamOutput
extends io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
buffers
.Modifier and Type | Method and Description |
---|---|
io.vertx.core.Future<Void> |
close()
Close the stream.
|
StreamOutput |
drainHandler(io.vertx.core.Handler<Void> handler) |
default io.vertx.core.Future<Void> |
end()
Calls {code close()}.
|
StreamOutput |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
StreamOutput |
setWriteQueueMaxSize(int i) |
io.vertx.core.Future<Void> |
write(io.vertx.core.buffer.Buffer buffer) |
StreamOutput exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler
in interface io.vertx.core.streams.StreamBase
exceptionHandler
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
io.vertx.core.Future<Void> write(io.vertx.core.buffer.Buffer buffer)
write
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
StreamOutput setWriteQueueMaxSize(int i)
setWriteQueueMaxSize
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
StreamOutput drainHandler(io.vertx.core.Handler<Void> handler)
drainHandler
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
default io.vertx.core.Future<Void> end()
end
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
io.vertx.core.Future<Void> close()
Copyright © 2023 Eclipse. All rights reserved.