HttpServletResponse实例化
时间:2018-11-16 10:51:46
收藏:0
阅读:946
HttpServletResponse实例化的另一种方法,具体成功与否待验证
HttpServletRequest方法相同
ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
HttpServletResponse response = servletRequestAttributes.getResponse();
原文:https://www.cnblogs.com/huahuavip/p/9967968.html
评论(0)