public interface ReadListener extends 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(Throwable throwable)Invoked if an error occurs while reading the request body. | 
void onDataAvailable()
                     throws IOException
AbstractServletInputStream.isReady()
 has returned false and data has subsequently become available to read.IOExceptionvoid onAllDataRead()
                   throws IOException
IOExceptionvoid onError(Throwable throwable)
throwable - The exception that occurredCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.