获取HttpServletRequest的方法

来源:互联网 发布:网络直播服务器搭建 编辑:程序博客网 时间:2024/05/16 16:01

http://blog.csdn.net/xxj_jing/article/details/70754428



HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder  
                .getRequestAttributes())  
                .getRequest();