code: public Map<String, String> getUrlParams(URI uri) throws URIException {
  		Map<String, String> map = new HashMap<>();
  		for (NameValuePair parameter : getUrlParamParser(uri.toString()).parseParameters(uri.getEscapedQuery())) {
  			String value = parameter.getValue();
  			if (value == null) {
  				value = "";
  			}
  			map.put(parameter.getName(), value);
  		}
  		return map;
  	}
docs: Returns the URL parameters for the given URL based on the parser associated with the
  first context found that includes the URL, or the default parser if it is not
  in a context
  @param uri
  @return
  @throws URIException