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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondrainHandler(io.vertx.core.Handler<Void> drainHandler) io.vertx.core.Future<Void> end()voidexceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler) protected abstract voidsetWriteQueueMaxSize(int arg0) io.vertx.core.Future<Void> write(io.vertx.core.buffer.Buffer buffer) voidwrite(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> res) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.streams.WriteStream
end, end 
- 
Constructor Details
- 
GenericJsonObjectWriteStream
 
 - 
 - 
Method Details
- 
drainHandler
- Specified by:
 drainHandlerin interfaceio.vertx.core.streams.WriteStream<T>
 - 
setWriteQueueMaxSize
- Specified by:
 setWriteQueueMaxSizein interfaceio.vertx.core.streams.WriteStream<T>
 - 
writeQueueFull
public boolean writeQueueFull()- Specified by:
 writeQueueFullin interfaceio.vertx.core.streams.WriteStream<T>
 - 
write
- Specified by:
 writein 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:
 writein interfaceio.vertx.core.streams.WriteStream<T>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<T>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<T>
 - 
next
- Throws:
 Exception
 - 
exceptionHandler
public GenericJsonObjectWriteStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler) - Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.WriteStream<T>
 
 -