public interface WriteListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onError(Throwable t)
Invoked when an error occurs processing the request asynchronously.
|
void |
onWritePossible()
When an instance of the WriteListener is registered with a
ServletOutputStream ,
this method will be invoked by the container if and only
if ServletOutputStream.canWrite() method
has been called and has returned false. |
void onWritePossible()
ServletOutputStream
,
this method will be invoked by the container if and only
if ServletOutputStream.canWrite()
method
has been called and has returned false.void onError(Throwable t)
Invoked when an error occurs processing the request asynchronously.
Copyright © 2012 GlassFish Community. All Rights Reserved.