api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java
public static QueryStringBuilder createFromEncoded(final String parameters)
   {
      QueryStringBuilder queryString = new QueryStringBuilder();
      queryString.addParameters(parameters);
      return queryString;
   }
public static QueryStringBuilder createFromEncoded(final String parameters)
   {
      QueryStringBuilder queryString = new QueryStringBuilder();
      queryString.addParameters(parameters);
      return queryString;
   }
Build a query string from the given URL. If a '?' character is encountered in the URL, the any characters up to
and including the first '?' will be ignored. This method assumes that the given parameters have already been URL
encoded.