Package javax.servlet
Interface AsyncListener
-
- All Superinterfaces:
EventListener
public interface AsyncListener extends EventListener
The AsyncListener API.- Author:
- Manfred Riem ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onComplete(AsyncEvent event)
Handle the on complete event.void
onError(AsyncEvent event)
Handle the on error event.void
onStartAsync(AsyncEvent event)
Handle the on start async event.void
onTimeout(AsyncEvent event)
Handle the on timeout event.
-
-
-
Method Detail
-
onComplete
void onComplete(AsyncEvent event) throws IOException
Handle the on complete event.- Parameters:
event
- the event.- Throws:
IOException
- when an I/O error occurs.
-
onError
void onError(AsyncEvent event) throws IOException
Handle the on error event.- Parameters:
event
- the event.- Throws:
IOException
- when an I/O error occurs.
-
onStartAsync
void onStartAsync(AsyncEvent event) throws IOException
Handle the on start async event.- Parameters:
event
- the event.- Throws:
IOException
- when an I/O error occurs.
-
onTimeout
void onTimeout(AsyncEvent event) throws IOException
Handle the on timeout event.- Parameters:
event
- the event.- Throws:
IOException
- when an I/O error occurs.
-
-