|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AsyncListener 的软件包 | |
|---|---|
| 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. |
| org.eclipse.jetty.server | |
| javax.servlet 中 AsyncListener 的使用 |
|---|
| 类型参数类型为 AsyncListener 的 javax.servlet 中的方法 | ||
|---|---|---|
|
AsyncContext.createListener(Class<T> clazz)
Instantiates the given AsyncListener class. |
|
| 参数类型为 AsyncListener 的 javax.servlet 中的方法 | |
|---|---|
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. |
| org.eclipse.jetty.server 中 AsyncListener 的使用 |
|---|
| 类型参数类型为 AsyncListener 的 org.eclipse.jetty.server 中的方法 | ||
|---|---|---|
|
AsyncContinuation.createListener(Class<T> clazz)
|
|
| 参数类型为 AsyncListener 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
void |
AsyncContinuation.addListener(AsyncListener listener)
|
void |
AsyncContinuation.addListener(AsyncListener listener,
ServletRequest request,
ServletResponse response)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||