title: What is a REST response, what does it do?
body: <p>I had made a REST webservice using redirecting to various paths like if i need to delete some user then i will redirect the user to this address in the <code>@Path</code> annotation  :</p>
  
  <pre><code>user/delete
  </code></pre>
  
  <p>and therefore there is no thing like RESPONSE i have used.<br>
  While going through a code given to me by my senior i came accross these lines :</p>
  
  <pre><code>java.net.URI uri = uriInfo.getAbsolutePathBuilder().path(id).build();
  Response.created(uri).build();
  </code></pre>
  
  <p>What are these lines doing, i have no idea.
  Can someone explain me this w/o wiki links or any other 'Basic Rest Service' links.</p>