Package javax.servlet
Interface ReadListener
-
- All Superinterfaces:
EventListener
public interface ReadListener extends EventListener
The ReadListener API.- Author:
- Manfred Riem ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAllDataRead()
Called when all data has been read.void
onDataAvailable()
Called when data is available.void
onError(Throwable throwable)
Called when an error occurs.
-
-
-
Method Detail
-
onAllDataRead
void onAllDataRead() throws IOException
Called when all data has been read.- Throws:
IOException
- when an I/O error occurs.
-
onDataAvailable
void onDataAvailable() throws IOException
Called when data is available.- Throws:
IOException
- when an I/O error occurs.
-
onError
void onError(Throwable throwable)
Called when an error occurs.- Parameters:
throwable
- the throwable.
-
-