code: public static MultivaluedMap<String, String> decodeQuery(String q, boolean decode) {
          return decodeQuery(q, true, decode);
      }
docs: Decode the query component of a URI.
  <p>
  Query parameter names in the returned map are always decoded. Decoding of query parameter
  values can be controlled using the {@code decode} parameter flag.
  </p>
  
  @param q      the query component in encoded form.
  @param decode {@code true} if the returned query parameter values of the query component
  should be in decoded form.
  @return the multivalued map of query parameters.