spring-mvc
Introduction
First Chapter
@RequestParam
@ResponseBody
@RestController
@RequestHeader
@CookieValue
Composed @RequestMaping Variants
后缀模式匹配
可消费的媒体类型
可生产的媒体类型
请求参数与请求头的值
21.3.3 定义@RequestMapping注解的处理方法
使用@RequestParam把请求参数绑定到方法参数(Binding request parameters to method parameters with @RequestParam)
使用HTTP实体HttpEntity(Using HttpEntity)
使用@RestController注解创建REST控制器(Creating REST Controllers with the @RestController annotation)
使用@ResponseBody注解映射响应体(Mapping the response body with the @ResponseBody annotation)
请求参数和请求头的值(Request Parameters and Header Values)
使用@CookieValue注解来映射cookie的值(Mapping cookie values with the @CookieValue annotation)
使用@RequestHeader注解映射请求头中的属性(Mapping request header attributes with the @RequestHeader annotation)
总:SpringMVC 向页面传递参数的4种方式
总:使用springmvc时处理404的方法
总:Http请求中Content-Type讲解以及在Spring MVC中的应用
总:Controller返回String类型中文乱码问题
可消费的媒体类型(Consumable Media Types)
可生产的媒体类型(Producible Media Types)
方法参数和类型转换(Method Parameters And Type Conversion)
Powered by
GitBook
Composed @RequestMaping Variants
Composed @RequestMapping Variants
变种的注解
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@PatchMapping
results matching "
"
No results matching "
"