Uses of Annotation Interface
org.springframework.web.bind.annotation.ControllerAdvice
Packages that use ControllerAdvice
Package
Description
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
Common infrastructure for handler method processing, as used by
Spring MVC's
org.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 ControllerAdviceModifier and TypeClassDescription@interfaceA shortcut annotation that combines@ControllerAdvicewith@ResponseBody, in effect simply an@ControllerAdvicewhose exception handler methods render to the response body. -
Uses of ControllerAdvice in org.springframework.web.method
Constructors in org.springframework.web.method with parameters of type ControllerAdviceModifierConstructorDescriptionControllerAdviceBean(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice) Create aControllerAdviceBeanusing the given bean name,BeanFactory, and@ControllerAdviceannotation.