title: Alternative to deprecated javax.servlet.http.HttpUtils.parseQueryString?
body: <p>I am looking to parse a URL to obtain a collection of the querystring parameters in Java. To be clear, I need to parse a given URL(or string value of a URL object), not the URL from a servlet request. </p>
  
  <p>It looks as if the <code>javax.servlet.http.HttpUtils.parseQueryString</code> method would be the obvious choice, but it has been deprecated.</p>
  
  <p>Is there an alternative method that I am missing, or has it just been deprecated without an equivalent replacement/enhanced function?</p>