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.
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.