Package | Description |
---|---|
org.springframework.web.bind.annotation |
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
|
Modifier and Type | Class and Description |
---|---|
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 . |