Skip to content

Commit 453d995

Browse files
committed
- Updated source code for the article "Returning Custom Status Codes from Spring MVC Controllers" to be included in the spring-rest project
1 parent 21e3d74 commit 453d995

6 files changed

Lines changed: 2 additions & 70 deletions

File tree

‎spring-mvc-custom-status-codes/.gitignore‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎spring-mvc-custom-status-codes/pom.xml‎

Lines changed: 0 additions & 44 deletions
This file was deleted.

‎spring-mvc-custom-status-codes/src/main/java/com/baeldung/CustomStatusCodesApplication.java‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎spring-mvc-custom-status-codes/src/main/resources/application.properties‎

Whitespace-only changes.

spring-mvc-custom-status-codes/src/main/java/com/baeldung/ExampleController.java renamed to spring-rest/src/main/java/org/baeldung/web/controller/status/ExampleController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung;
1+
package org.baeldung.web.controller.status;
22

33
import org.springframework.http.HttpStatus;
44
import org.springframework.http.ResponseEntity;

spring-mvc-custom-status-codes/src/main/java/com/baeldung/ForbiddenException.java renamed to spring-rest/src/main/java/org/baeldung/web/controller/status/ForbiddenException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung;
1+
package org.baeldung.web.controller.status;
22

33
import org.springframework.http.HttpStatus;
44
import org.springframework.web.bind.annotation.ResponseStatus;

0 commit comments

Comments
 (0)