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).void onError(Throwable t)
t - cause of errorCopyright © 2017–2020 Oracle Corporation. All rights reserved.