public interface WriteListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable throwable)
Invoked if an error occurs while writing the response.
|
void |
onWritePossible()
Invoked when it it possible to write data without blocking.
|
void onWritePossible()
throws IOException
AbstractServletOutputStream.isReady()
has returned false and it has since become possible to write data.IOExceptionvoid onError(Throwable throwable)
throwable - Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.