取得HttpServletRequestの非コントローラ(サービスで取得したなど)

HttpServletRequestのリクエスト=((ServletRequestAttributes)RequestContextHolder.currentRequestAttributes())のGetRequest()。

おすすめ

転載: www.cnblogs.com/wdp1990/p/11058184.html