摘要: ModelAndView :处理方法返回值类型为ModelAndView时,方法体即可通过该对象添加模型数据 包含视图和模型数据 源码:会把ModelAndView的 modle中的数据放到request域对象中, 最后调用了request.setAttribute() Map和Model入参 or 阅读全文
posted @ 2018-06-25 22:29 1161588342 阅读(127) 评论(0) 推荐(0) 编辑
摘要: HttpServletRequest HttpServletResponse HttpSession java.security.Principal Local InputStream OutputStream Reader Writer 源码位置:AnnotationMethodHandlerAd 阅读全文
posted @ 2018-06-25 22:01 1161588342 阅读(144) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping value, method, params 必须存在参数, headers: 请求头部必须是啥样 @PathVariable 绑定URL参数 HiddenHttpMethodFilter : 把POST请求转为 DELETE或POST..等请求 @RequestPar 阅读全文
posted @ 2018-06-25 18:42 1161588342 阅读(107) 评论(0) 推荐(0) 编辑
摘要: https://github.com/easonstudy/java8_demo 阅读全文
posted @ 2018-06-25 13:32 1161588342 阅读(110) 评论(0) 推荐(0) 编辑