HttpServletRequest httpRequest = (HttpServletRequest) request;
HttpServletResponse httpResponse = (HttpServletResponse) response;
RequestCapture requestCapture = wrapRequest(httpRequest);
ResponseCapture responseCapture = wrapResponse(httpResponse);
RackEnvironment env = new ServletRackEnvironment(httpRequest, httpResponse, getContext());
// NOTE: should be moved bellow, just before getDispatcher().process(...)
RackResponseEnvironment responseEnv = new ServletRackResponseEnvironment(httpResponse);