Interface NioWriteHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface NioWriteHandler
    Class NioWriterHandler.
    • Method Detail

      • write

        boolean write​(NioOutputStream out)
               throws IOException
        Method called when it is possible to write some data without blocking.
        Parameters:
        out - output stream.
        Returns:
        true if there is more data to write, false otherwise.
        Throws:
        IOException