JAVA

클래스나 메소드에서 직접 HttpServletRequest객체 생성 방법

J데빌 2020. 6. 29. 01:01
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();