|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AsyncEvent 的软件包 | |
|---|---|
| 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 中 AsyncEvent 的使用 |
|---|
| 参数类型为 AsyncEvent 的 javax.servlet 中的方法 | |
|---|---|
void |
AsyncListener.onComplete(AsyncEvent event)
Notifies this AsyncListener that an asynchronous operation has been completed. |
void |
AsyncListener.onError(AsyncEvent event)
Notifies this AsyncListener that an asynchronous operation has failed to complete. |
void |
AsyncListener.onStartAsync(AsyncEvent event)
Notifies this AsyncListener that a new asynchronous cycle is being initiated via a call to one of the ServletRequest.startAsync()
methods. |
void |
AsyncListener.onTimeout(AsyncEvent event)
Notifies this AsyncListener that an asynchronous operation has timed out. |
| org.eclipse.jetty.server 中 AsyncEvent 的使用 |
|---|
| org.eclipse.jetty.server 中 AsyncEvent 的子类 | |
|---|---|
class |
AsyncContinuation.AsyncEventState
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||