Package org.apache.cxf.jaxrs.nio
Interface NioReadHandler
-
- 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 NioReadHandler
Class NioReader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidread(NioInputStream in)Called every time it is possible to read from the input stream without blocking.
-
-
-
Method Detail
-
read
void read(NioInputStream in) throws IOException
Called every time it is possible to read from the input stream without blocking. The last time this method is called, the value ofin.isFinished()must betrueto indicate that all the stream has been read.- Parameters:
in- input stream.- Throws:
IOException
-
-