|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadHandler
This class represents a call-back mechanism that will notify implementations as HTTP request data becomes available to read without blocking.
| Method Summary | |
|---|---|
void |
onAllDataRead()
Invoked when all data for the current request has been read. |
void |
onDataAvailable()
Invoked when data is available to be read without blocking. |
void |
onError(java.lang.Throwable t)
Invoked when an error occurs processing the request asynchronously. |
| Method Detail |
|---|
void onDataAvailable()
throws java.io.IOException
Invoked when data is available to be read without blocking.
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.
void onAllDataRead()
throws java.io.IOException
Invoked when all data for the current request has been read.
IOException, - IOException might be thrown by the custom
handler code. This exception will be delegated for processing to
onError(java.lang.Throwable).
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||