title: How do we generate a random but unique number in Java
body: <p>I am trying to generate a random unique number for every Http request hitting my application. </p>
  
  <p>How do make sure the uniqueness of such a number. Does java provide any method or API for this? </p>