public interface WriteHandler
Callback notification mechanism that signals the developer it's possible to write content.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an error occurs processing the request asynchronously.void
This callback will be invoked when the requirements as dictated by writer are met.
-
Method Details
-
onWritePossible
This callback will be invoked when the requirements as dictated by writer are met.- Throws:
Exception
-Exception
might be thrown by the custom handler code. This exception will be delegated for processing toonError(java.lang.Throwable)
.
-
onError
Invoked when an error occurs processing the request asynchronously.- Parameters:
t
- cause of error
-