Uses of Interface
javax.servlet.AsyncContext
-
Packages that use AsyncContext Package Description javax.servlet -
-
Uses of AsyncContext in javax.servlet
Methods in javax.servlet that return AsyncContext Modifier and Type Method Description AsyncContext
AsyncEvent. getAsyncContext()
Gets the AsyncContext from this AsyncEvent.default AsyncContext
ServletRequest. getAsyncContext()
Gets the AsyncContext that was created or reinitialized by the most recent invocation ofServletRequest.startAsync()
orServletRequest.startAsync(ServletRequest,ServletResponse)
on this request.AsyncContext
ServletRequestWrapper. getAsyncContext()
Gets the AsyncContext that was created or reinitialized by the most recent invocation ofServletRequestWrapper.startAsync()
orServletRequestWrapper.startAsync(ServletRequest,ServletResponse)
on the wrapped request.default AsyncContext
ServletRequest. startAsync()
Puts this request into asynchronous mode, and initializes itsAsyncContext
with the original (unwrapped) ServletRequest and ServletResponse objects.default AsyncContext
ServletRequest. startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
Puts this request into asynchronous mode, and initializes itsAsyncContext
with the given request and response objects.AsyncContext
ServletRequestWrapper. startAsync()
The default behavior of this method is to invokeServletRequest.startAsync()
on the wrapped request object.AsyncContext
ServletRequestWrapper. startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
The default behavior of this method is to invokeServletRequest.startAsync(ServletRequest, ServletResponse)
on the wrapped request object.Constructors in javax.servlet with parameters of type AsyncContext Constructor Description AsyncEvent(AsyncContext context)
Constructs an AsyncEvent from the given AsyncContext.AsyncEvent(AsyncContext context, Throwable throwable)
Constructs an AsyncEvent from the given AsyncContext and Throwable.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.
-