类的使用
org.springframework.web.bind.annotation.ResponseBody
使用ResponseBody的程序包 程序包 说明 org.springframework.web.bind.annotation Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.org.springframework.web.bind.annotation中ResponseBody的使用
注释类型为ResponseBody的org.springframework.web.bind.annotation中的类 修饰符和类型 类 说明 interface
RestController
A convenience annotation that is itself annotated with@Controller
and@ResponseBody
.interface
RestControllerAdvice
A convenience annotation that is itself annotated with@ControllerAdvice
and@ResponseBody
.