title: What does the build() method do with the Response in JAX-RS?
body: <p>I found a code like this:</p>
  
  <pre class="lang-java prettyprint-override"><code>response = Response.status(Status.OK).entity(object.toString()).build();
  </code></pre>
  
  <p>Can anyone please explain me what exactly that <code>entity(...).build()</code> will do with the response?</p>