request.getCharacterEncoding
returns null, according to the Servlet spec.MapperScan ultimately ends up
creating instances of MapperFactoryBean.ServletRequest to an
HttpServletRequest:
return (HttpServletRequest)request;
Logic could be changed in the future for logging or throwing an meaningful exception in
non HTTP request environments (e.g.ServletResponse to an
HttpServletResponse:
return (HttpServletResponse)response;
Logic could be changed in the future for logging or throwing an meaningful exception in
non HTTP request environments (e.g.Copyright © 2018. All rights reserved.