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@interface
A shortcut annotation that combines@ControllerAdvice
with@ResponseBody
, in effect simply an@ControllerAdvice
whose 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 aControllerAdviceBean
using the given bean name,BeanFactory
, and@ControllerAdvice
annotation.