public interface WriteListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.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 java.io.IOException
ServletOutputStream.isReady()
has returned false and it has since
become possible to write data.java.io.IOException
- if an I/O error occurs while processing this eventvoid onError(java.lang.Throwable throwable)
throwable
- The throwable that represents the error that occurredCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.