Uses of Interface
javax.servlet.AsyncListener
| Package | Description |
|---|---|
| javax.servlet |
The javax.servlet package contains a number of classes and interfaces that
describe and define the contracts between a servlet class and the
runtime environment provided for an instance of such a class by a
conforming servlet container.
|
-
Uses of AsyncListener in javax.servlet
Methods in javax.servlet with type parameters of type AsyncListener Modifier and Type Method Description <T extends AsyncListener>
TAsyncContext. createListener(java.lang.Class<T> clazz)Instantiates the givenAsyncListenerclass.Methods in javax.servlet with parameters of type AsyncListener Modifier and Type Method Description voidAsyncContext. addListener(AsyncListener listener)Registers the givenAsyncListenerwith the most recent asynchronous cycle that was started by a call to one of theServletRequest.startAsync()methods.voidAsyncContext. addListener(AsyncListener listener, ServletRequest servletRequest, ServletResponse servletResponse)Registers the givenAsyncListenerwith the most recent asynchronous cycle that was started by a call to one of theServletRequest.startAsync()methods.