Package net.bluemind.core.rest.base
Class GenericJsonObjectWriteStream<T>
java.lang.Object
net.bluemind.core.rest.base.GenericJsonObjectWriteStream<T>
- All Implemented Interfaces:
io.vertx.core.streams.StreamBase
,io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
public abstract class GenericJsonObjectWriteStream<T>
extends Object
implements io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondrainHandler
(io.vertx.core.Handler<Void> drainHandler) io.vertx.core.Future
<Void> end()
void
exceptionHandler
(io.vertx.core.Handler<Throwable> exceptionHandler) protected abstract void
setWriteQueueMaxSize
(int arg0) io.vertx.core.Future
<Void> write
(io.vertx.core.buffer.Buffer buffer) void
write
(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> res) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vertx.core.streams.WriteStream
end, end
-
Constructor Details
-
GenericJsonObjectWriteStream
-
-
Method Details
-
drainHandler
- Specified by:
drainHandler
in interfaceio.vertx.core.streams.WriteStream<T>
-
setWriteQueueMaxSize
- Specified by:
setWriteQueueMaxSize
in interfaceio.vertx.core.streams.WriteStream<T>
-
writeQueueFull
public boolean writeQueueFull()- Specified by:
writeQueueFull
in interfaceio.vertx.core.streams.WriteStream<T>
-
write
- Specified by:
write
in interfaceio.vertx.core.streams.WriteStream<T>
-
write
public void write(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> res) - Specified by:
write
in interfaceio.vertx.core.streams.WriteStream<T>
-
end
- Specified by:
end
in interfaceio.vertx.core.streams.WriteStream<T>
-
end
- Specified by:
end
in interfaceio.vertx.core.streams.WriteStream<T>
-
next
- Throws:
Exception
-
exceptionHandler
public GenericJsonObjectWriteStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler) - Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.StreamBase
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.WriteStream<T>
-