|
Apache Tomcat 7.0.54 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReadListener
Receives notification of read events when using non-blocking IO.
Method Summary | |
---|---|
void |
onAllDataRead()
Invoked when the request body has been fully read. |
void |
onDataAvailable()
Invoked when data is available to read. |
void |
onError(Throwable throwable)
Invoked if an error occurs while reading the request body. |
Method Detail |
---|
void onDataAvailable() throws IOException
AbstractServletInputStream.isReady()
has returned false and data has subsequently become available to read.
IOException
void onAllDataRead() throws IOException
IOException
void onError(Throwable throwable)
throwable
- The exception that occurred
|
Apache Tomcat 7.0.54 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |