Skip to content

Commit

Permalink
Support more system method params. Fixes #981
Browse files Browse the repository at this point in the history
Added `javax.servlet.http.HttpServletResponse`, `javax.servlet.http.HttpServletRequest`.
See https://docs.spring.io/spring-framework/docs/3.2.x/spring-framework-reference/html/mvc.html\#mvc-ann-arguments
  • Loading branch information
soberich authored and stoicflame committed Aug 26, 2019
1 parent bc2e669 commit e6a7ecd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class RequestParameterFactory {
//list of valid request mapping argument types that are supplied by the system, and not by the user.
//see http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-arguments
"javax.servlet.ServletContext", "javax.servlet.ServletRequest", "javax.servlet.ServletResponse", "javax.servlet.http.HttpSession",
"javax.servlet.http.HttpServletResponse", "javax.servlet.http.HttpServletRequest",
"org.springframework.web.context.request.WebRequest", "java.util.Locale", "java.util.TimeZone", "java.time.ZoneId",
"java.io.Writer", "java.io.OutputStream", "org.springframework.http.HttpMethod", "java.security.Principal", "org.springframework.ui.Model",
"org.springframework.ui.ModelMap", "java.util.Map", "org.springframework.web.servlet.mvc.support.RedirectAttributes",
Expand Down

0 comments on commit e6a7ecd

Please # to comment.