title: How to send PUT, DELETE HTTP request in HttpURLConnection?
body: <p>I want to know if it is possible to send PUT, DELETE request (practically) through <code>java.net.HttpURLConnection</code> to HTTP-based URL.</p>
  
  <p>I have read so many articles describing that how to send GET, POST, TRACE, OPTIONS requests but I still haven't found any sample code which successfully performs PUT and DELETE requests.</p>