Details
Description
The ResourceDispatcher is invoked outside of JSF lifecycle but we should avoid working with the FacesContext since this is not a JSF request. Instead, we should make the HttpServletRequest, HttpServletResponse, and ServletContext available to the application code.
Adding these APIs will not provide the customer with what they require, after reviewing the SalesForce case. See suggested workarounds above.