| 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.
|
| org.springframework.web.method |
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package. |
| Modifier and Type | Class and Description |
|---|---|
interface |
RestControllerAdvice
A convenience annotation that is itself annotated with
@ControllerAdvice
and @ResponseBody. |
| Constructor and Description |
|---|
ControllerAdviceBean(String beanName,
BeanFactory beanFactory,
ControllerAdvice controllerAdvice)
Create a
ControllerAdviceBean using the given bean name,
BeanFactory, and @ControllerAdvice
annotation. |