|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WriteHandler
Callback notification mechanism that signals the developer it's possible to write content.
| Method Summary | |
|---|---|
void |
onError(java.lang.Throwable t)
Invoked when an error occurs processing the request asynchronously. |
void |
onWritePossible()
This callback will be invoked when the requirements as dictated by NIOOutputSink.notifyCanWrite(WriteHandler, int) are met. |
| Method Detail |
|---|
void onWritePossible()
throws java.io.IOException
NIOOutputSink.notifyCanWrite(WriteHandler, int) are met.
IOException, - IOException might be thrown by the custom
handler code. This exception will be delegated for processing to
onError(java.lang.Throwable).
java.io.IOExceptionvoid onError(java.lang.Throwable t)
Invoked when an error occurs processing the request asynchronously.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||