Package javax.servlet
Interface AsyncListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
AsyncContextState.WrappedAsyncListener
public interface AsyncListener extends java.util.EventListenerTODO SERVLET3 - Add comments- Since:
- Servlet 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComplete(AsyncEvent event)voidonError(AsyncEvent event)voidonStartAsync(AsyncEvent event)voidonTimeout(AsyncEvent event)
-
-
-
Method Detail
-
onComplete
void onComplete(AsyncEvent event) throws java.io.IOException
- Throws:
java.io.IOException
-
onTimeout
void onTimeout(AsyncEvent event) throws java.io.IOException
- Throws:
java.io.IOException
-
onError
void onError(AsyncEvent event) throws java.io.IOException
- Throws:
java.io.IOException
-
onStartAsync
void onStartAsync(AsyncEvent event) throws java.io.IOException
- Throws:
java.io.IOException
-
-