Uses of Annotation Interface
org.springframework.web.bind.annotation.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
Modifier and TypeClassDescription@interface
A convenience annotation that is itself annotated with@ControllerAdvice
and@ResponseBody
. -
Uses of ControllerAdvice in org.springframework.web.method
ModifierConstructorDescriptionControllerAdviceBean
(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice) Create aControllerAdviceBean
using the given bean name,BeanFactory
, and@ControllerAdvice
annotation.