|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AsyncContext 的软件包 | |
|---|---|
| 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 中 AsyncContext 的使用 |
|---|
| 返回 AsyncContext 的 javax.servlet 中的方法 | |
|---|---|
AsyncContext |
ServletRequestWrapper.getAsyncContext()
Gets the AsyncContext that was created or reinitialized by the most recent invocation of ServletRequestWrapper.startAsync() or
ServletRequestWrapper.startAsync(ServletRequest,ServletResponse) on the wrapped
request. |
AsyncContext |
ServletRequest.getAsyncContext()
Gets the AsyncContext that was created or reinitialized by the most recent invocation of ServletRequest.startAsync() or
ServletRequest.startAsync(ServletRequest,ServletResponse) on this request. |
AsyncContext |
AsyncEvent.getAsyncContext()
Gets the AsyncContext from this AsyncEvent. |
AsyncContext |
ServletRequestWrapper.startAsync()
The default behavior of this method is to invoke ServletRequest.startAsync() on the wrapped request object. |
AsyncContext |
ServletRequest.startAsync()
Puts this request into asynchronous mode, and initializes its AsyncContext with the original (unwrapped) ServletRequest
and ServletResponse objects. |
AsyncContext |
ServletRequestWrapper.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
The default behavior of this method is to invoke ServletRequest.startAsync(ServletRequest, ServletResponse)
on the wrapped request object. |
AsyncContext |
ServletRequest.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
Puts this request into asynchronous mode, and initializes its AsyncContext with the given request and response objects. |
| 参数类型为 AsyncContext 的 javax.servlet 中的构造方法 | |
|---|---|
AsyncEvent(AsyncContext context)
Constructs an AsyncEvent from the given AsyncContext. |
|
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response)
Constructs an AsyncEvent from the given AsyncContext, ServletRequest, and ServletResponse. |
|
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response,
Throwable throwable)
Constructs an AsyncEvent from the given AsyncContext, ServletRequest, ServletResponse, and Throwable. |
|
AsyncEvent(AsyncContext context,
Throwable throwable)
Constructs an AsyncEvent from the given AsyncContext and Throwable. |
|
| org.eclipse.jetty.server 中 AsyncContext 的使用 |
|---|
| 实现 AsyncContext 的 org.eclipse.jetty.server 中的类 | |
|---|---|
class |
AsyncContinuation
Implementation of Continuation and AsyncContext interfaces |
| 返回 AsyncContext 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
AsyncContext |
Request.getAsyncContext()
|
AsyncContext |
Request.startAsync()
|
AsyncContext |
Request.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||