JavaWeb-获取HttpServletRequest、HttpServletResponse对象
HttpServletResponse response = ((ServletRequestAttributes) requestAttributes).getResponse();
HttpServletRequest request = ((ServletRequestAttributes) requestAttributes).getRequest();
正文到此结束
- 本文标签: Spring Boot Spring
- 本文链接: https://code.jiangjiesheng.cn/article/210
- 版权声明: 本文由小江同学原创发布,转载请先联系本站长,谢谢。