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.
|
Modifier and Type | Method and Description |
---|---|
<T extends AsyncListener> |
AsyncContext.createListener(Class<T> clazz)
Instantiates the given
AsyncListener class. |
Modifier and Type | Method and Description |
---|---|
void |
AsyncContext.addListener(AsyncListener listener)
Registers the given
AsyncListener with the most recent
asynchronous cycle that was started by a call to one of the
ServletRequest.startAsync() methods. |
void |
AsyncContext.addListener(AsyncListener listener,
ServletRequest servletRequest,
ServletResponse servletResponse)
Registers the given
AsyncListener with the most recent
asynchronous cycle that was started by a call to one of the
ServletRequest.startAsync() methods. |
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.