request.getCharacterEncoding
returns null, according to the Servlet spec.org.mybatis.spring.annotation.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 © 2019. All rights reserved.