Class StandardServletAsyncWebRequest

All Implemented Interfaces:
AsyncListener, EventListener, AsyncWebRequest, NativeWebRequest, RequestAttributes, WebRequest

public class StandardServletAsyncWebRequest extends ServletWebRequest implements AsyncWebRequest, AsyncListener
A Servlet implementation of AsyncWebRequest.

The servlet and all filters involved in an async request must have async support enabled using the Servlet API or by adding an <async-supported>true</async-supported> element to servlet and filter declarations in web.xml.

Rossen Stoyanchev
  • Constructor Details

    • StandardServletAsyncWebRequest

      public StandardServletAsyncWebRequest(HttpServletRequest request, HttpServletResponse response)
      Create a new instance for the given request/response pair.
      request - current HTTP request
      response - current HTTP response
  • Method Details