public
AsyncContext startAsync(ServletRequest servletRequest,
ServletResponse servletResponse) throws IllegalStateException
Puts
this request into asynchronous mode, and The ServletRequest and
ServletResponse arguments must be the same instances, or instances of
ServletRequestWrapper and ServletResponseWrapper that wrap them, that
were passed to the service method of the Servlet or the doFilter
method of the Filter, respectively. Response will be delayed until
you call 'complete()' method of AsyncContext.
For
an example follow the below link
No comments:
Post a Comment