Spring获取HttpServletRequest

((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest()

转载于:https://www.cnblogs.com/MrHacker/p/10750825.html

你可能感兴趣的:(Spring获取HttpServletRequest)