SJarno / travel-mapper

Demo app for storing and displaying locations on a map.
0 stars 0 forks source link

Responses #9

Open SJarno opened 2 years ago

SJarno commented 2 years ago

Check the use of responseEntity and/or responseStatus in controllers.

SJarno commented 2 years ago

Response exceptions:

https://www.baeldung.com/spring-response-status-exception

SJarno commented 2 years ago

Response status:

https://www.baeldung.com/spring-response-status

SJarno commented 2 years ago

Response entities:

https://www.baeldung.com/spring-response-entity https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/ResponseEntity.html

SJarno commented 2 years ago

When to user Response Status and Response Entity:

https://stackoverflow.com/questions/26549379/when-use-responseentityt-and-restcontroller-for-spring-restful-applications