title: Setting up a status code for a Response Entity
body: <p>I have the following response:</p>
  <pre><code>noResultsResponse.setMessage(&quot;No available models&quot;);
  return ResponseEntity.status(404).body(noResultsResponse);
  </code></pre>
  <p>This works and returns <code>404</code> with the correct message.</p>
  <p>But when I try to use a different status code, for an example <code>return ResponseEntity.status(1001).body(noResultsResponse);</code>, it returns a <code>500</code> error code with the correct message.</p>
  <p>Is there no way of setting up 4 digit status codes without actually making a status field in the response and return it as a <code>200</code> code?</p>