Class WriteFlusher

java.lang.Object
org.eclipse.jetty.io.WriteFlusher

public abstract class WriteFlusher extends Object
A Utility class to help implement EndPoint.write(Callback, ByteBuffer...) by calling EndPoint.flush(ByteBuffer...) until all content is written. The abstract method onIncompleteFlush() is called when not all content has been written after a call to flush and should organize for the completeWrite() method to be called when a subsequent call to flush should be able to make more progress.