Error Handling for REST with Spring Before Spring 3.2 the two main approaches to handle exceptions where HandleExceptionResolver or @ExceptionHandler annotation. The it was added @ControllerAdvice and ResponseStatusException. Controller level (MVC) This strategy only works for active controllers is not global to the entire application. HandleExceptionResolver This is enabled by default in DispatchServlet. DefaultHandlerExceptionResolver Used […]
Category: Spring
Spring Boot Security
Spring Boot Rest Security
Spring Boot Rest Testing
Testing Rest application in Spring boot
Spring Boot MVC and Rest
Spring Boot, MVC and Rest configurations.
Spring Boot configuration
Spring Boot configuration and annotations
Spring Environment, Profiles and SpEL
Environment, Profiles and SpEL