Package javax.servlet
Interface WriteListener
-
- All Superinterfaces:
EventListener
public interface WriteListener extends EventListener
The WriteListener API.- Author:
- Manfred Riem ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Throwable throwable)
Called when an error is detected.void
onWritePossible()
Called when a write is possible.
-
-
-
Method Detail
-
onError
void onError(Throwable throwable)
Called when an error is detected.- Parameters:
throwable
- the throwable.
-
onWritePossible
void onWritePossible() throws IOException
Called when a write is possible.- Throws:
IOException
- when an I/O error occurs.
-
-