Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Have a look at this link, it should answer your question.
httphttps://stackoverflow.com/questions/16232833/how-to-respond-with-http-400-error-in-a-spring-mvc-responsebody-method-returnin
In any case, http error code 404 is returned when server is unreachable, so usually it's not a code returned programmatively.

https://en.wikipedia.org/wiki/HTTP_404

Have a look at this link, it should answer your question.
http://stackoverflow.com/questions/16232833/how-to-respond-with-http-400-error-in-a-spring-mvc-responsebody-method-returnin
In any case, http error code 404 is returned when server is unreachable, so usually it's not a code returned programmatively.

https://en.wikipedia.org/wiki/HTTP_404

Have a look at this link, it should answer your question.
https://stackoverflow.com/questions/16232833/how-to-respond-with-http-400-error-in-a-spring-mvc-responsebody-method-returnin
In any case, http error code 404 is returned when server is unreachable, so usually it's not a code returned programmatively.

https://en.wikipedia.org/wiki/HTTP_404
Source Link
fabriziomieli
  • 151
  • 1
  • 2
  • 9


Have a look at this link, it should answer your question.
http://stackoverflow.com/questions/16232833/how-to-respond-with-http-400-error-in-a-spring-mvc-responsebody-method-returnin
In any case, http error code 404 is returned when server is unreachable, so usually it's not a code returned programmatively.

https://en.wikipedia.org/wiki/HTTP_404