커스텀 HandlerMethodArgumentResolver 사용시 MultipartHttpServletRequest 얻는 방법
12345@Override public Object resolveArgument(MethodParameter arg0,ModelAndViewContainer arg1,NativeWebRequest arg2,WebDataBinderFactory arg3) throws Exception{ MultipartHttpServletRequest request = (MultipartHttpServletRequest)arg2.getNativeRequest(); return request; }Colored by Color Scriptercs NativeWebRequest의 getNativeRequest() 메소드는 HttpServletRequest를 반환한다.MultipartHttpServletRequest는 HttpS..