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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Method called when it is possible to write some data without blocking.
  • Method Details

    • 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