Class BlockingContentWriter

java.lang.Object
com.yahoo.jdisc.handler.BlockingContentWriter

public final class BlockingContentWriter extends Object
This class provides a blocking write-interface to a ContentChannel. Both write(ByteBuffer) and close() methods provide an internal CompletionHandler to the decorated ContentChannel calls, and wait for these to be called before returning. If CompletionHandler.failed(Throwable) is called, the corresponding Throwable is thrown to the caller.
Author:
Simon Thoresen Hult
See Also: