Spring Boot Controller Pathology Definition