# Uses of Annotation Interface
org.springframework.web.bind.annotation.ResponseBody

Packages that use ResponseBody
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.

## Uses of ResponseBody in org.springframework.web.bind.annotation

Classes in org.springframework.web.bind.annotation with annotations of type ResponseBody
Modifier and Type
Class
Description
`@interface`
`RestController`
A convenience annotation that is itself annotated with `@Controller` and `@ResponseBody`.
`@interface`
`RestControllerAdvice`
A shortcut annotation that combines `@ControllerAdvice` with `@ResponseBody`, in effect simply an `@ControllerAdvice` whose exception handler methods render to the response body.