Skip to content

Glossary: Spring Boot Basics

@Order

Also written: Ordered.HIGHEST_PRECEDENCE

Ranks advice classes. HIGHEST_PRECEDENCE puts ApiErrors first so its handlers run before Spring Boot's own. It is unrelated to the Order entity.

Where the book teaches it

Related terms

@RestControllerAdvice