This is a very similar question, but mine is more specific.
If I type in an invalid resource path, like /foobar, it returns a 404. I'd like this to return a 400. 400 is "bad request". I feel like this is more informative to the client. How I can configure Jersey 1.x to return this instead?