public interface WriteHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable t)
Invoked when an error occurs processing the request asynchronously.
|
void |
onWritePossible()
This callback will be invoked when the requirements as dictated
by writer are met.
|
void onWritePossible()
throws Exception
Exception, - Exception might be thrown by the custom
handler code. This exception will be delegated for processing to
onError(java.lang.Throwable).Exceptionvoid onError(Throwable t)
Invoked when an error occurs processing the request asynchronously.
Copyright © 2015 Oracle Corporation. All Rights Reserved.