spring-framework / org.springframework.web.bind.annotation / RestControllerAdvice / value

value

@AliasFor("basePackages") val value: Array<String>

Alias for the #basePackages attribute.

Allows for more concise annotation declarations e.g.: @ControllerAdvice("org.my.pkg") is equivalent to @ControllerAdvice(basePackages="org.my.pkg").

See Also
#basePackages()