Monday 4 August 2014

startAsync (ServletRequest servletRequest, ServletResponse servletResponse)

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




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment