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
AbstractServletInputStream.isReady()
has returned false and data has subsequently become available to read.java.io.IOException
void onAllDataRead() throws java.io.IOException
java.io.IOException
void onError(java.lang.Throwable throwable)
throwable
- The exception that occurredCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.