HttpServletRequest actualRequest = requestInfo.wrapRequest(request);
HttpServletRequest actualRequest;  if (requestInfo == null) {   actualRequest = request; } else {  actualRequest = requestInfo.wrapRequest(request); }
    public static HttpServletRequest getRealRequest(HttpServletRequest request)    {        HttpSession session = request.getSession();            if (session.getAttribute("resuming.request") != null)        {log.info("RESUMING AN INTERRUPTED REQUEST");            // Get info about the interrupted request            RequestInfo requestInfo = (RequestInfo)                session.getAttribute("interrupted.request.info");            // Wrap the current request to make it look like the interruped one            HttpServletRequest actualRequest = requestInfo.wrapRequest(request);            // Remove the info from the session so it isn't resumed twice            session.removeAttribute("resuming.request");            session.removeAttribute("interrupted.request.info");            session.removeAttribute("interrupted.request.url");                        // Return the wrapped request            return actualRequest;        }        else        {            return request;        }    }