public abstract class GenericJsonObjectWriteStream<T>
extends java.lang.Object
implements io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
Constructor and Description |
---|
GenericJsonObjectWriteStream(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
GenericJsonObjectWriteStream<T> |
drainHandler(io.vertx.core.Handler<java.lang.Void> drainHandler) |
void |
end() |
void |
end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> res) |
GenericJsonObjectWriteStream<T> |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> exceptionHandler) |
protected abstract void |
next(T value) |
GenericJsonObjectWriteStream<T> |
setWriteQueueMaxSize(int arg0) |
GenericJsonObjectWriteStream<T> |
write(io.vertx.core.buffer.Buffer buffer) |
GenericJsonObjectWriteStream<T> |
write(io.vertx.core.buffer.Buffer buffer,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> res) |
boolean |
writeQueueFull() |
public GenericJsonObjectWriteStream(java.lang.Class<T> type)
public GenericJsonObjectWriteStream<T> drainHandler(io.vertx.core.Handler<java.lang.Void> drainHandler)
drainHandler
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public GenericJsonObjectWriteStream<T> setWriteQueueMaxSize(int arg0)
setWriteQueueMaxSize
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public boolean writeQueueFull()
writeQueueFull
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public GenericJsonObjectWriteStream<T> write(io.vertx.core.buffer.Buffer buffer)
write
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public GenericJsonObjectWriteStream<T> write(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> res)
write
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> res)
end
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public void end()
end
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
protected abstract void next(T value) throws java.lang.Exception
java.lang.Exception
public GenericJsonObjectWriteStream<T> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> exceptionHandler)
exceptionHandler
in interface io.vertx.core.streams.StreamBase
exceptionHandler
in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
Copyright © 2021. All Rights Reserved.