SpringMVC中RequestContextHolder获取请求信息的方法
RequestContextHolder的作用是:
在Service层获取获取request和response信息
ServletRequestAttributes attrs = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
HttpServletRequest request = attrs.getRequest();