Uses of Class
org.springframework.web.bind.annotation.ControllerAdvice
Packages that use ControllerAdvice 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'sorg.springframework.web.servlet.mvc.method
package.Uses of ControllerAdvice in org.springframework.web.bind.annotation
Classes in org.springframework.web.bind.annotation with annotations of type ControllerAdvice Modifier and Type Class Description interface
RestControllerAdvice
A convenience annotation that is itself annotated with@ControllerAdvice
and@ResponseBody
.Uses of ControllerAdvice in org.springframework.web.method
Constructors in org.springframework.web.method with parameters of type ControllerAdvice Constructor Description ControllerAdviceBean(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice)
Create aControllerAdviceBean
using the given bean name,BeanFactory
, and@ControllerAdvice
annotation.