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.IOException
void onAllDataRead() throws IOException
IOException
void onError(Throwable throwable)
throwable
- The exception that occurredCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.