public interface ReadListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
onAllDataRead()
Invoked when the request body has been fully read.
|
void |
onDataAvailable()
Invoked when data is available to read.
|
void |
onError(java.lang.Throwable throwable)
Invoked if an error occurs while reading the request body.
|
void onDataAvailable() throws java.io.IOException
ServletInputStream.isReady()
has returned false and data has
subsequently become available to read.java.io.IOException
- id an I/O error occurs while processing the eventvoid onAllDataRead() throws java.io.IOException
java.io.IOException
- id an I/O error occurs while processing the eventvoid onError(java.lang.Throwable throwable)
throwable
- The exception that occurredCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.