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.
Class NioReader.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(NioInputStream in) Called every time it is possible to read from the input stream without blocking.
-
Method Details
-
read
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 betrue
to indicate that all the stream has been read.- Parameters:
in
- input stream.- Throws:
IOException
-