Package org.apache.cxf.jaxrs.nio
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
write(NioOutputStream out)
Method called when it is possible to write some data without blocking.
-
-
-
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
-
-