public static RequestWrapper create(HttpServletRequest request) {

		HttpSession session = request.getSession();
		AppContextWrapper acw = new ServletContextWrapper(session.getServletContext());
		SessionWrapper sw = new HttpSessionWrapper(session);
		ContextHolder contextHolder = new ContextHolder(acw, sw);

		return new HttpServletRequestWrapper(request, contextHolder);
	}
public static RequestWrapper create ( HttpServletRequest request ) { HttpSession session = request . getSession ( ) ; AppContextWrapper acw = new ServletContextWrapper ( session . getServletContext ( ) ) ; SessionWrapper sw = new HttpSessionWrapper ( session ) ; ContextHolder contextHolder = new ContextHolder ( acw , sw ) ; return new HttpServletRequestWrapper ( request , contextHolder ) ; }
create a HttpServletRequestWrapper with session supports. this method
will create HttpSession.

@param request
@return